Fix for vendor files not working correctly with manifest

This commit is contained in:
Berkeley Martinez
2015-11-11 13:29:33 -08:00
parent 87fa38182e
commit 0a46dc16a6
4 changed files with 23 additions and 37 deletions

View File

@ -1,3 +1,4 @@
var webpack = require('webpack');
var path = require('path');
var webpack = require('webpack');
@ -31,6 +32,8 @@ module.exports = {
]
},
plugins: [
new webpack.optimize.DedupePlugin(),
new webpack.optimize.OccurenceOrderPlugin(true),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify(__DEV__ ? 'development' : 'production')