aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpacker.yml
diff options
context:
space:
mode:
authorGuillaume2017-10-10 12:12:00 +0200
committerGuillaume2017-10-10 12:12:00 +0200
commit0925adcbc4aa4d8dc0b9984fb57494bb6de18c33 (patch)
tree95dc4f03a66eaf5345c4208a2a8d3598b70f22ff /config/webpacker.yml
parent91e85a1b974eb0bfb42df8c896570e0a690d11f1 (diff)
downloadchouette-core-0925adcbc4aa4d8dc0b9984fb57494bb6de18c33.tar.bz2
fix react version for build, add Procfile for run with manager (ex: foreman)
Diffstat (limited to 'config/webpacker.yml')
-rw-r--r--config/webpacker.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/config/webpacker.yml b/config/webpacker.yml
index e62a7acd1..51afa9df5 100644
--- a/config/webpacker.yml
+++ b/config/webpacker.yml
@@ -10,7 +10,7 @@ default: &default
# ['app/assets', 'engine/foo/app/assets']
resolved_paths: []
- # Reload manifest.json on all requests so we reload latest compiled packs
+ # Reload manifest.json on all requests so we reload latest compiled packs
cache_manifest: false
extensions:
@@ -33,11 +33,18 @@ development:
<<: *default
compile: true
+ # Reference: https://webpack.js.org/configuration/dev-server/
dev_server:
+ https: false
host: localhost
port: 3035
+ public: localhost:3035
hmr: false
- https: false
+ # Inline should be set to true if using HMR
+ inline: true
+ overlay: true
+ disable_host_check: true
+ use_local_ip: false
test:
<<: *default