sharedlists/config/webpack/environment.js

12 lines
254 B
JavaScript
Raw Normal View History

2021-12-18 10:31:37 +01:00
const { environment } = require('@rails/webpacker')
2021-12-18 14:35:53 +01:00
const webpack = require('webpack')
environment.plugins.prepend('Provide',
new webpack.ProvidePlugin({
$: 'jquery/src/jquery',
jQuery: 'jquery/src/jquery'
})
)
2021-12-18 10:31:37 +01:00
module.exports = environment