File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ gem "rails", "~> 6.1.7.9"
23
23
gem "puma" , "~> 5.6"
24
24
# Use SCSS/SASS for stylesheets
25
25
gem "sassc-rails"
26
- # Use Uglifier as compressor for JavaScript assets
27
- gem "uglifier" , ">= 1.3.0 "
26
+ # Use Terser as compressor for JavaScript assets, previously used Uglifier
27
+ gem "terser "
28
28
# See https://github.com/rails/execjs#readme for more supported runtimes
29
29
# gem 'mini_racer', platforms: :ruby
30
30
Original file line number Diff line number Diff line change 352
352
rubocop-performance (= 1.14.3 )
353
353
terminal-table (3.0.2 )
354
354
unicode-display_width (>= 1.1.1 , < 3 )
355
+ terser (1.2.4 )
356
+ execjs (>= 0.3.0 , < 3 )
355
357
thor (1.3.1 )
356
358
tilt (2.0.11 )
357
359
timeout (0.4.1 )
360
362
turbolinks-source (5.2.0 )
361
363
tzinfo (2.0.6 )
362
364
concurrent-ruby (~> 1.0 )
363
- uglifier (4.2.0 )
364
- execjs (>= 0.3.0 , < 3 )
365
365
unf (0.1.4 )
366
366
unf_ext
367
367
unf_ext (0.0.8.2 )
@@ -438,9 +438,9 @@ DEPENDENCIES
438
438
simplecov-lcov
439
439
sqlite3
440
440
standard
441
+ terser
441
442
turbolinks (~> 5 )
442
443
tzinfo-data
443
- uglifier (>= 1.3.0 )
444
444
w3c_validators
445
445
web-console (>= 3.3.0 )
446
446
whois
Original file line number Diff line number Diff line change 23
23
config . public_file_server . enabled = ENV [ "RAILS_SERVE_STATIC_FILES" ] . present?
24
24
25
25
# Compress JavaScripts and CSS.
26
- config . assets . js_compressor = :uglifier
26
+ config . assets . js_compressor = :terser
27
27
# config.assets.css_compressor = :sass
28
28
29
29
# Do not fallback to assets pipeline if a precompiled asset is missed.
You can’t perform that action at this time.
0 commit comments