Explicitly import jQuery

This commit is contained in:
Paul Chavard 2018-08-09 11:53:59 +02:00
parent 980d89dcac
commit 008d84f107
18 changed files with 28 additions and 12 deletions

View file

@ -1,9 +1,3 @@
const { environment } = require('@rails/webpacker')
const webpack = require('webpack');
environment.plugins.append('Provide', new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery'
}));
module.exports = environment