summaryrefslogtreecommitdiff
path: root/webpack.production.js
diff options
context:
space:
mode:
authorYukai Huang2016-10-14 09:21:25 +0800
committerYukai Huang2016-10-14 09:21:25 +0800
commit9443a6f996beba74412f2b69fe42d86ea5fc1e51 (patch)
tree1901a83066366fa7a1a0bed2a500432c7bc82a7d /webpack.production.js
parentef5524be91758dcb5b5d54adeb893e180c4b0a29 (diff)
Sync webpack config changes to production
Diffstat (limited to 'webpack.production.js')
-rw-r--r--webpack.production.js8
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({