fix: assets precompile by using terser

importmaps broke precompiliation with uglifier
see: https://github.com/rails/importmap-rails/issues/5
This commit is contained in:
Philipp Rothmann 2023-02-10 12:50:59 +01:00
parent 8eda266340
commit 9c20931ade
3 changed files with 5 additions and 6 deletions

View file

@ -7,7 +7,6 @@ gem 'mail', '~> 2.7.1' # bug with mail 2.8.0 https://github.com/mikel/mail/issue
gem 'sassc-rails'
gem 'less-rails'
gem 'uglifier'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
@ -128,5 +127,5 @@ group :test do
end
gem "importmap-rails", "~> 1.1"
gem "image_processing", "~> 1.12"
gem "terser", "~> 1.1"