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
|