diff options
Diffstat (limited to 'config/webpack')
-rw-r--r-- | config/webpack/loaders/babel.js | 2 | ||||
-rw-r--r-- | config/webpack/loaders/coffee.js | 4 | ||||
-rw-r--r-- | config/webpack/loaders/erb.js | 9 | ||||
-rw-r--r-- | config/webpack/paths.yml | 4 |
4 files changed, 1 insertions, 18 deletions
diff --git a/config/webpack/loaders/babel.js b/config/webpack/loaders/babel.js index 8cd9170a2..1acf5e0e6 100644 --- a/config/webpack/loaders/babel.js +++ b/config/webpack/loaders/babel.js @@ -1,5 +1,5 @@ module.exports = { - test: /\.js(\.erb)?$/, + test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', options: { diff --git a/config/webpack/loaders/coffee.js b/config/webpack/loaders/coffee.js deleted file mode 100644 index 416f787fe..000000000 --- a/config/webpack/loaders/coffee.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - test: /\.coffee(\.erb)?$/, - loader: 'coffee-loader', -}; diff --git a/config/webpack/loaders/erb.js b/config/webpack/loaders/erb.js deleted file mode 100644 index 5b523f8d1..000000000 --- a/config/webpack/loaders/erb.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - test: /\.erb$/, - enforce: 'pre', - exclude: /node_modules/, - loader: 'rails-erb-loader', - options: { - runner: 'bin/rails runner', - }, -}; diff --git a/config/webpack/paths.yml b/config/webpack/paths.yml index 26ab8facc..fdae76141 100644 --- a/config/webpack/paths.yml +++ b/config/webpack/paths.yml @@ -8,11 +8,7 @@ default: &default node_modules: node_modules source: app/javascript extensions: - - .coffee - .js - - .jsx - - .ts - - .vue - .sass - .scss - .css |