21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-07 11:08:39 +02:00
chexpire/config/webpack/environment.js

12 lines
317 B
JavaScript
Raw Normal View History

2018-05-23 11:55:13 +02:00
const { environment } = require('@rails/webpacker')
2019-08-20 00:03:24 +02:00
const webpack = require('webpack')
2018-05-23 11:55:13 +02:00
environment.plugins.prepend('Provide', new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
Popper: ['popper.js', 'default'],
2019-08-20 00:03:24 +02:00
// Util: "exports-loader?Util!bootstrap/js/dist/util",
}))
2018-05-23 11:55:13 +02:00
module.exports = environment