summaryrefslogtreecommitdiff
path: root/webpack.production.js
diff options
context:
space:
mode:
authorMax Wu2016-10-14 17:24:33 +0800
committerGitHub2016-10-14 17:24:33 +0800
commitf93e8f5fdcec43b2a56146a436b50b4a8c8480da (patch)
tree0b8fd738947eb8bdc24f3557a8896b23850286d4 /webpack.production.js
parentef5524be91758dcb5b5d54adeb893e180c4b0a29 (diff)
parent4c1109b70bd31090e410850dee0a39e6edf1a19a (diff)
Merge pull request #206 from Yukaii/webpack-fix-cont
Webpack fix cont.
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({