diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-07-12 20:07:26 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-07-12 20:07:26 -0400 |
| commit | dc7253d0b71f25c2e9a4547d414fa18390b74fbf (patch) | |
| tree | 36ea8df86deb8a0fe62c09ead7d28abb0e63b915 | |
| parent | 222ffd3a54d6d389f2df162013d36f45c83fcdca (diff) | |
| download | thoughts-dc7253d0b71f25c2e9a4547d414fa18390b74fbf.tar.gz thoughts-dc7253d0b71f25c2e9a4547d414fa18390b74fbf.tar.bz2 thoughts-dc7253d0b71f25c2e9a4547d414fa18390b74fbf.zip | |
For some reason I gotta do this thing with Uglifier I guess
| -rw-r--r-- | config/environments/production.rb | 2 |
1 files changed, 1 insertions, 1 deletions
| diff --git a/config/environments/production.rb b/config/environments/production.rb index 03d15d1..182b74e 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb | |||
| @@ -24,7 +24,7 @@ Rails.application.configure do | |||
| 24 | config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? | 24 | config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? |
| 25 | 25 | ||
| 26 | # Compress JavaScripts and CSS. | 26 | # Compress JavaScripts and CSS. |
| 27 | config.assets.js_compressor = :uglifier | 27 | config.assets.js_compressor = Uglifier.new(harmony: true) |
| 28 | # config.assets.css_compressor = :sass | 28 | # config.assets.css_compressor = :sass |
| 29 | 29 | ||
| 30 | # Do not fallback to assets pipeline if a precompiled asset is missed. | 30 | # Do not fallback to assets pipeline if a precompiled asset is missed. |
