diff options
author | Yukai Huang | 2016-10-13 16:25:04 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-13 16:25:04 +0800 |
commit | 229b947b093e0f88b587a00cfd256b38979c356e (patch) | |
tree | ebe86ad21d61eb67e2161e8aadcd01978ba93afa | |
parent | f4f2497d23ff26caba7673b5de0bc8f61b69efca (diff) |
Config moment webpack ProvidePlugin
-rw-r--r-- | webpackBaseConfig.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index 51eb2adf..072ef7b8 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -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({ |