From e70fab734f4d60f2b127eef2c19fe74a847f8f2a Mon Sep 17 00:00:00 2001 From: Dinis Date: Fri, 21 Aug 2020 19:20:23 +0100 Subject: [PATCH] Add staging env for webpacker. --- config/webpacker.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/webpacker.yml b/config/webpacker.yml index 8581ac0..7ddee2a 100644 --- a/config/webpacker.yml +++ b/config/webpacker.yml @@ -94,3 +94,15 @@ production: # Cache manifest.json for performance cache_manifest: true + +staging: + <<: *default + + # Production depends on precompilation of packs prior to booting for performance. + compile: false + + # Extract and emit a css file + extract_css: true + + # Cache manifest.json for performance + cache_manifest: true