Explicitly import jQuery
This commit is contained in:
parent
980d89dcac
commit
008d84f107
18 changed files with 28 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue