Antonio Facciolo
Antonio Facciolo
Thank you, I'll investigate further and let you know!
I think the error is not coming from shakapacker. The following is the stacktrace I get: ``` ** Execute assets:precompile rake aborted! Terser::Error: Unexpected token: name (Promise) (Terser::Error) -- 20...
That line is needed to compile the `alchemy_admin.js`, the only file needed by importmap to include it in the admin layout. But if I compile all files inside the folder...
I have other errors related to missing files in the manifest (see PR). I think importmap-rails uses the asset pipeline to find the assets, in my case Sprockets.
Yes, that's why Sprockets in my app tries to precompile all the files and it's failing... You have said that it shouldn't precompile those files, but if they are in...
Yes, they need to be served, so the asset pipeline is compiling (compressing) them with terser. Terser then is not happy with the syntax, I don't know if it's valid...