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:
parent
666e7934a6
commit
78da4feafe
3 changed files with 6 additions and 5 deletions
3
Gemfile
3
Gemfile
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue