diff options
author | Yukai Huang | 2016-10-14 09:21:25 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-14 09:21:25 +0800 |
commit | 9443a6f996beba74412f2b69fe42d86ea5fc1e51 (patch) | |
tree | 1901a83066366fa7a1a0bed2a500432c7bc82a7d | |
parent | ef5524be91758dcb5b5d54adeb893e180c4b0a29 (diff) |
Sync webpack config changes to production
Diffstat (limited to '')
-rw-r--r-- | webpack.production.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/webpack.production.js b/webpack.production.js index 1c2190ab..95b90b97 100644 --- a/webpack.production.js +++ b/webpack.production.js @@ -7,11 +7,15 @@ var HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = Object.assign({}, baseConfig, { plugins: [ new webpack.ProvidePlugin({ - '_': 'lodash', Visibility: "visibilityjs", Cookies: "js-cookie", emojify: "emojify.js", - key: "keymaster" + key: "keymaster", + $: "jquery", + jQuery: "jquery", + "window.jQuery": "jquery", + "moment": "moment", + "Handlebars": "handlebars" }), new ExtractTextPlugin("[name].css"), new webpack.optimize.CommonsChunkPlugin({ |