Skip to content

Commit

Permalink
Disable asset debugging mode in development
Browse files Browse the repository at this point in the history
This was outputting an `application.debug-[fingerprint].js` file, which
was causing a lot of confusion. [This
issue](rails/jsbundling-rails#73) had the
solution for why it was happening. I don't think there's much benefit to
outputting the `.debug` file if we're going to minify the JS (coming in
the next commit), so I've turned it off.
  • Loading branch information
Gweaton committed Jan 5, 2023
1 parent 53eba7b commit 3a26fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# Debug mode disables concatenation and preprocessing of assets.
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
config.assets.debug = false

# Suppress logger output for asset requests.
config.assets.quiet = true
Expand Down

0 comments on commit 3a26fe1

Please sign in to comment.