Skip to content

Commit

Permalink
Do not fallback compile on naos
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Oct 26, 2023
1 parent ca58efc commit e1e6b0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1e6b0a

Please sign in to comment.