Add webpacker and use it for new_design
This commit is contained in:
parent
f13056437c
commit
bf7c023380
68 changed files with 8534 additions and 480 deletions
9
config/webpack/environment.js
Normal file
9
config/webpack/environment.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
const { environment } = require('@rails/webpacker')
|
||||
|
||||
const webpack = require('webpack');
|
||||
environment.plugins.append('Provide', new webpack.ProvidePlugin({
|
||||
$: 'jquery',
|
||||
jQuery: 'jquery'
|
||||
}));
|
||||
|
||||
module.exports = environment
|
Loading…
Add table
Add a link
Reference in a new issue