Browse Source

Do not compress JS (perhaps it removes source maps, needed for debugging)

pull/4/head
Eugen Rochko 5 years ago
parent
commit
4baca34a45
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/environments/production.rb

+ 1
- 1
config/environments/production.rb View File

@ -19,7 +19,7 @@ Rails.application.configure do
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
# config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.

Loading…
Cancel
Save