[fix] umd bundle

This commit is contained in:
Nicolas Gallagher
2015-12-27 12:04:40 +00:00
parent 8ac84f6da5
commit 0aa60a3c29

View File

@@ -17,7 +17,7 @@ module.exports = {
path: constants.DIST_DIRECTORY
},
plugins: [
new webpack.DefinePlugin({ 'process.env.NODE_ENV': 'production' }),
new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }),
new webpack.optimize.DedupePlugin(),
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.optimize.UglifyJsPlugin({