about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-02 00:27:35 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-01 17:27:35 +0200
commit1162f61ca399e613ff6d5dbe572c5f12d039eeeb (patch)
treecc4a4674b2faac9d9ae9a5585fa301fd4385c4a6 /config/webpack
parent39ea5c0e2e9bdf2c6e3bd0797e6fb422e6117aa2 (diff)
Remove unused loaders of webpack (#3495)
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/loaders/babel.js2
-rw-r--r--config/webpack/loaders/coffee.js4
-rw-r--r--config/webpack/loaders/erb.js9
-rw-r--r--config/webpack/paths.yml4
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