From 1b79e98865a1c782c9740613f06ad4b1ce262a3c Mon Sep 17 00:00:00 2001 From: Angel Aviel Domaoan Date: Fri, 28 Jan 2022 06:27:07 +0000 Subject: [PATCH] Fix webpacker config --- config/webpacker.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config/webpacker.yml b/config/webpacker.yml index a6b1465..46ed57d 100644 --- a/config/webpacker.yml +++ b/config/webpacker.yml @@ -6,11 +6,12 @@ default: &default public_root_path: public public_output_path: packs cache_path: tmp/cache/webpacker - webpack_compile_output: true + check_yarn_integrity: false + webpack_compile_output: false # Additional paths webpack should lookup modules # ['app/assets', 'engine/foo/app/assets'] - additional_paths: [] + resolved_paths: [] # Reload manifest.json on all requests so we reload latest compiled packs cache_manifest: false @@ -51,6 +52,9 @@ development: <<: *default compile: true + # Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules + check_yarn_integrity: true + # Reference: https://webpack.js.org/configuration/dev-server/ dev_server: https: false @@ -65,7 +69,6 @@ development: disable_host_check: true use_local_ip: false quiet: false - pretty: false headers: 'Access-Control-Allow-Origin': '*' watch_options: