11 lines
258 B
JavaScript
11 lines
258 B
JavaScript
|
const { environment } = require('@rails/webpacker')
|
||
|
const webpack = require("webpack")
|
||
|
|
||
|
environment.plugins.append("Provide", new webpack.ProvidePlugin({
|
||
|
$: 'jquery',
|
||
|
jQuery: 'jquery',
|
||
|
Popper: ['popper.js', 'default']
|
||
|
}))
|
||
|
|
||
|
module.exports = environment
|