about summary refs log tree commit diff stats
path: root/config/environments
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-07-12 20:07:26 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2021-07-12 20:07:26 -0400
commitdc7253d0b71f25c2e9a4547d414fa18390b74fbf (patch)
tree36ea8df86deb8a0fe62c09ead7d28abb0e63b915 /config/environments
parent222ffd3a54d6d389f2df162013d36f45c83fcdca (diff)
downloadthoughts-dc7253d0b71f25c2e9a4547d414fa18390b74fbf.tar.gz
thoughts-dc7253d0b71f25c2e9a4547d414fa18390b74fbf.tar.bz2
thoughts-dc7253d0b71f25c2e9a4547d414fa18390b74fbf.zip
For some reason I gotta do this thing with Uglifier I guess
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb2
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.