Removing "entry-loader" dependency from webpack.

This commit is contained in:
Yury Delendik 2016-04-13 08:24:25 -05:00
parent 127e6d7343
commit ae415f9e80
12 changed files with 45 additions and 17 deletions

View file

@ -3,11 +3,14 @@ var path = require('path');
module.exports = {
context: __dirname,
entry: './main.js',
entry: {
'main': './main.js',
'pdf.worker': 'pdfjs-dist/build/pdf.worker.entry'
},
output: {
path: path.join(__dirname, '../../build/webpack'),
publicPath: '../../build/webpack/',
filename: 'bundle.js'
filename: '[name].bundle.js'
},
plugins: [
new webpack.optimize.UglifyJsPlugin({