Remove unused loaders of webpack (#3495)
This commit is contained in:
committed by
Eugen Rochko
parent
39ea5c0e2e
commit
1162f61ca3
@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
test: /\.js(\.erb)?$/,
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
|
@ -1,4 +0,0 @@
|
||||
module.exports = {
|
||||
test: /\.coffee(\.erb)?$/,
|
||||
loader: 'coffee-loader',
|
||||
};
|
@ -1,9 +0,0 @@
|
||||
module.exports = {
|
||||
test: /\.erb$/,
|
||||
enforce: 'pre',
|
||||
exclude: /node_modules/,
|
||||
loader: 'rails-erb-loader',
|
||||
options: {
|
||||
runner: 'bin/rails runner',
|
||||
},
|
||||
};
|
@ -8,11 +8,7 @@ default: &default
|
||||
node_modules: node_modules
|
||||
source: app/javascript
|
||||
extensions:
|
||||
- .coffee
|
||||
- .js
|
||||
- .jsx
|
||||
- .ts
|
||||
- .vue
|
||||
- .sass
|
||||
- .scss
|
||||
- .css
|
||||
|
Reference in New Issue
Block a user