Config moment webpack ProvidePlugin

This commit is contained in:
Yukai Huang 2016-10-13 16:25:04 +08:00
parent f4f2497d23
commit 229b947b09

View file

@ -12,7 +12,8 @@ module.exports = {
key: "keymaster",
$: "jquery",
jQuery: "jquery",
"window.jQuery": "jquery"
"window.jQuery": "jquery",
"moment": "moment"
}),
new ExtractTextPlugin("[name].css"),
new webpack.optimize.CommonsChunkPlugin({