Files
webpack/webpack.config.js
Joe 7a2e7ee843 Autogen index - makes it fail...
not sure why, but don't want to soend time on it.
2018-06-28 12:34:58 -05:00

18 lines
376 B
JavaScript

const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: {
app: './src/index.js',
print: './src/print.js'
},
plugins: [
new HtmlWebpackPlugin({
title: 'Output Management'
})
],
output: {
filename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist')
}
};