upgrade to webpack 2

This commit is contained in:
Leon Chen
2016-09-08 00:13:43 -04:00
parent 9577495a17
commit ea97d03248
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
"babel-preset-es2015": "^6.14.0",
"http-server": "^0.9.0",
"standard": "^8.0.0",
"webpack": "^1.13.2"
"webpack": "^2.1.0-beta.22"
},
"standard": {
"parser": "babel-eslint",
+1 -2
View File
@@ -21,7 +21,6 @@ module.exports = {
plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('development')
}),
new webpack.optimize.OccurenceOrderPlugin()
})
]
}
-1
View File
@@ -24,7 +24,6 @@ module.exports = {
}
}),
new webpack.optimize.DedupePlugin(),
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false