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 666e7934a6
commit 78da4feafe
3 changed files with 6 additions and 5 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,3 +127,5 @@ group :test do
end
gem "importmap-rails", "~> 1.1"
gem "terser", "~> 1.1"