#34: inject jQuery also on production

This commit is contained in:
Davide Alberani 2017-03-13 21:37:35 +01:00
parent 572dd19d00
commit 4269b22a60

View file

@ -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