Skip to content

Commit

Permalink
Start using yui-compressor
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Oct 10, 2023
1 parent 0c2254a commit 4b8baa3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ gem "rack-mini-profiler"

group :production do
gem "newrelic_rpm"
gem "yui-compressor"
end

group :development, :test do
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ GEM
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
yui-compressor (0.12.0)
zeitwerk (2.6.12)

PLATFORMS
Expand Down Expand Up @@ -484,6 +485,7 @@ DEPENDENCIES
tzinfo-data
web-console (>= 3.3.0)
webdrivers
yui-compressor

RUBY VERSION
ruby 3.2.2p53
Expand Down
5 changes: 2 additions & 3 deletions Gemfile.next.lock
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,6 @@ GEM
turbolinks-source (5.2.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.5.0)
version_gem (1.1.3)
warden (1.2.9)
Expand All @@ -447,6 +445,7 @@ GEM
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
yui-compressor (0.12.0)
zeitwerk (2.6.12)

PLATFORMS
Expand Down Expand Up @@ -492,9 +491,9 @@ DEPENDENCIES
standardrb
turbolinks (~> 5)
tzinfo-data
uglifier (>= 1.3.0)
web-console (>= 3.3.0)
webdrivers
yui-compressor

RUBY VERSION
ruby 3.2.2p53
Expand Down
1 change: 1 addition & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present?

# config.assets.css_compressor = :sass
config.assets.css_compressor = :yui

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

0 comments on commit 4b8baa3

Please sign in to comment.