diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-06-02 00:27:35 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-01 17:27:35 +0200 |
commit | 1162f61ca399e613ff6d5dbe572c5f12d039eeeb (patch) | |
tree | cc4a4674b2faac9d9ae9a5585fa301fd4385c4a6 /config/webpack/loaders | |
parent | 39ea5c0e2e9bdf2c6e3bd0797e6fb422e6117aa2 (diff) |
Remove unused loaders of webpack (#3495)
Diffstat (limited to 'config/webpack/loaders')
-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 |
3 files changed, 1 insertions, 14 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', - }, -}; |