diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 07796da..1b0674d 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -29,6 +29,12 @@ var webpackConfig = merge(baseWebpackConfig, { new webpack.DefinePlugin({ 'process.env': env }), + new webpack.ProvidePlugin({ + $: 'jquery', + jquery: 'jquery', + 'window.jQuery': 'jquery', + jQuery: 'jquery' + }), new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false