Closed coding-bunny closed 6 days ago
Okay, the problem really seems to be Uglifier itself.
My guess is that Rails Admin internally uses ES6 code now for its assets, which is not supported by Uglifier.
Switching to terser
resolves the build problem.
Describe the bug The
assets:precompile
step for our application is failing.Reproduction steps
Expected behavior I expect the
assets:precompile
to work as expected. There's no issue on 3.0.0Additional context
rails
version: 7.0.4rails_admin
version: 3.1.0rails_admin
npm package version: 3.1.0Additional changes I had to make: