Config moment webpack ProvidePlugin
This commit is contained in:
parent
f4f2497d23
commit
229b947b09
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@ module.exports = {
|
||||||
key: "keymaster",
|
key: "keymaster",
|
||||||
$: "jquery",
|
$: "jquery",
|
||||||
jQuery: "jquery",
|
jQuery: "jquery",
|
||||||
"window.jQuery": "jquery"
|
"window.jQuery": "jquery",
|
||||||
|
"moment": "moment"
|
||||||
}),
|
}),
|
||||||
new ExtractTextPlugin("[name].css"),
|
new ExtractTextPlugin("[name].css"),
|
||||||
new webpack.optimize.CommonsChunkPlugin({
|
new webpack.optimize.CommonsChunkPlugin({
|
||||||
|
|
Loading…
Reference in a new issue