vitaly-t / decomment

:hammer: Removes comments from JSON, JavaScript, CSS, HTML, etc.
75 stars 21 forks source link

UglifyJs error on build #19

Closed smellai closed 3 years ago

smellai commented 4 years ago

I'm trying to use the package in a client applications, everything works smoothly when I run the application locally, but the build breaks:

ERROR in app.js from UglifyJs
Unexpected token: name (idx) [app.js:7089,8]

ERROR in app.js from UglifyJs
Unexpected token: name (idx)

Any idea?

vitaly-t commented 4 years ago

Sorry for responding so late. This library was developed primarily for the server-side. I'm not sure if it can work on the client side.

Did you make any progress investigating the issue further?

smellai commented 4 years ago

No, no progress sorry

vitaly-t commented 3 years ago

The error looks like it came from the Uglify library, not from this library.

vitaly-t commented 3 years ago

This really looks unrelated. I'm closing it therefore.