1
0
postdoc/config/webpack/environment.js

11 lines
258 B
JavaScript
Raw Permalink Normal View History

2020-12-06 20:49:03 +01:00
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