about summary refs log tree commit diff
path: root/config/webpacker.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpacker.yml')
-rw-r--r--config/webpacker.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/config/webpacker.yml b/config/webpacker.yml
new file mode 100644
index 000000000..c1cd6e93b
--- /dev/null
+++ b/config/webpacker.yml
@@ -0,0 +1,32 @@
+# Note: You must restart bin/webpack-dev-server for changes to take effect
+
+default: &default
+  source_path: app/javascript
+  source_entry_path: packs
+  public_output_path: packs
+  extensions:
+    - .js
+    - .sass
+    - .scss
+    - .css
+    - .png
+    - .svg
+    - .gif
+    - .jpeg
+    - .jpg
+
+development:
+  <<: *default
+
+  dev_server:
+    host: 0.0.0.0
+    port: 8080
+    https: false
+
+test:
+  <<: *default
+
+  public_output_path: packs-test
+
+production:
+  <<: *default