1
0
postdoc/config/webpack/environment.js
2020-12-06 21:05:11 +01:00

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