diff options
author | Max Wu | 2016-10-14 17:24:33 +0800 |
---|---|---|
committer | GitHub | 2016-10-14 17:24:33 +0800 |
commit | f93e8f5fdcec43b2a56146a436b50b4a8c8480da (patch) | |
tree | 0b8fd738947eb8bdc24f3557a8896b23850286d4 /webpack.production.js | |
parent | ef5524be91758dcb5b5d54adeb893e180c4b0a29 (diff) | |
parent | 4c1109b70bd31090e410850dee0a39e6edf1a19a (diff) |
Merge pull request #206 from Yukaii/webpack-fix-cont
Webpack fix cont.
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({ |