mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-08-12 19:19:13 +00:00
13 lines
277 B
JavaScript
13 lines
277 B
JavaScript
const { environment } = require('@rails/webpacker')
|
|
|
|
// Bootstrap 3 has a dependency over jQuery:
|
|
const webpack = require('webpack')
|
|
environment.plugins.prepend('Provide',
|
|
new webpack.ProvidePlugin({
|
|
$: 'jquery',
|
|
jQuery: 'jquery'
|
|
})
|
|
)
|
|
|
|
module.exports = environment
|