From e1e6b0a2b43502e96b736afef20faa7ef1f9d0e6 Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Thu, 26 Oct 2023 14:30:59 +0200 Subject: [PATCH] Do not fallback compile on naos --- config/environments/staging.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 643aee253e..6aeff0c4d6 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -64,6 +64,9 @@ # Compress JavaScripts and CSS. config.assets.js_compressor = :terser + # Do not fallback to assets pipeline if a precompiled asset is missed. + config.assets.compile = false + # Asset digests allow you to set far-future HTTP expiration dates on all assets, # yet still be able to expire them through the digest params. config.assets.digest = true