sharedlists/config/webpack/environment.js
2021-12-18 14:36:15 +01:00

11 lines
254 B
JavaScript

const { environment } = require('@rails/webpacker')
const webpack = require('webpack')
environment.plugins.prepend('Provide',
new webpack.ProvidePlugin({
$: 'jquery/src/jquery',
jQuery: 'jquery/src/jquery'
})
)
module.exports = environment