Skip to content

Commit

Permalink
Improve asset compiling; helps with #234
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja committed Jan 6, 2020
1 parent 2c5ce93 commit 3dfc976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?

# Compress CSS using a preprocessor.
# config.assets.css_compressor = :sass
config.assets.css_compressor = :sass

# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
config.assets.compile = true

# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = 'http://assets.example.com'
Expand Down

0 comments on commit 3dfc976

Please sign in to comment.