Files
webpack/webpack.config.js

18 lines
376 B
JavaScript
Raw Permalink Normal View History

2018-06-27 19:18:51 -05:00
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
2018-06-27 19:18:51 -05:00
module.exports = {
2018-06-28 12:19:48 -05:00
entry: {
app: './src/index.js',
print: './src/print.js'
},
plugins: [
new HtmlWebpackPlugin({
title: 'Output Management'
})
],
2018-06-27 19:18:51 -05:00
output: {
2018-06-28 12:19:48 -05:00
filename: '[name].bundle.js',
2018-06-27 19:18:51 -05:00
path: path.resolve(__dirname, 'dist')
}
};