Update webpack config to match newest webpacker gem

This commit is contained in:
Sebastian Serth
2020-12-01 17:58:33 +01:00
parent d58b49f71f
commit f201804486
12 changed files with 142 additions and 142 deletions

View File

@@ -6,12 +6,11 @@ default: &default
public_root_path: public
public_output_path: packs
cache_path: tmp/cache/webpacker
check_yarn_integrity: false
webpack_compile_output: false
# Additional paths webpack should lookup modules
# ['app/assets', 'engine/foo/app/assets']
resolved_paths: []
additional_paths: []
# Reload manifest.json on all requests so we reload latest compiled packs
cache_manifest: false
@@ -52,15 +51,12 @@ development:
<<: *default
compile: true
# Verifies that versions and hashed value of the package contents in the project's package.json
check_yarn_integrity: true
# Reference: https://webpack.js.org/configuration/dev-server/
dev_server:
https: false
host: 0.0.0.0
host: localhost
port: 3035
public: 0.0.0.0:3035
public: localhost:3035
hmr: false
# Inline should be set to true if using HMR
inline: true
@@ -69,12 +65,11 @@ development:
disable_host_check: true
use_local_ip: false
quiet: false
pretty: false
headers:
'Access-Control-Allow-Origin': '*'
watch_options:
ignored: /node_modules/
# File Watcher might not work inside Vagrant
poll: true
ignored: '**/node_modules/**'
test: