Cleanup webpack production config

This commit is contained in:
Yukai Huang 2016-10-12 14:17:03 +08:00
parent 02eef3f68a
commit 05d5a44d99
1 changed files with 0 additions and 3 deletions

View File

@ -12,9 +12,6 @@ module.exports = Object.assign({}, baseConfig, {
io: "socket.io-client", io: "socket.io-client",
key: "keymaster" key: "keymaster"
}), }),
new webpack.DefinePlugin({
"require.specified": "require.resolve"
}),
new ExtractTextPlugin("[name].css"), new ExtractTextPlugin("[name].css"),
new webpack.optimize.CommonsChunkPlugin({ new webpack.optimize.CommonsChunkPlugin({
name: ["vendor", "public", "slide", "locale"], name: ["vendor", "public", "slide", "locale"],