From 0925adcbc4aa4d8dc0b9984fb57494bb6de18c33 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Tue, 10 Oct 2017 12:12:00 +0200 Subject: fix react version for build, add Procfile for run with manager (ex: foreman) --- config/webpacker.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'config') 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 -- cgit v1.2.3