10 lines
224 B
JavaScript
10 lines
224 B
JavaScript
|
const { environment } = require('@rails/webpacker')
|
||
|
|
||
|
const webpack = require('webpack');
|
||
|
environment.plugins.append('Provide', new webpack.ProvidePlugin({
|
||
|
$: 'jquery',
|
||
|
jQuery: 'jquery'
|
||
|
}));
|
||
|
|
||
|
module.exports = environment
|