Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to preserve function names? #5

Closed
mariusa opened this issue Sep 6, 2014 · 1 comment
Closed

how to preserve function names? #5

mariusa opened this issue Sep 6, 2014 · 1 comment

Comments

@mariusa
Copy link

mariusa commented Sep 6, 2014

Hello,

Is there a way to preserve function names?

Use case: minifying a script, included by various HTML pages. Need to be able to call global functions from those HTML pages which are in minified script.

@fizker
Copy link
Owner

fizker commented Dec 11, 2014

I am pretty sure that https://github.com/mishoo/UglifyJS2 have an option for that.

So either it should be possible to pass options through to the internal uglify module or you could use that module directly.

@fizker fizker closed this as completed May 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants