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

Uglify name mangling breaks qmlweb #457

Open
Plaristote opened this issue Mar 26, 2022 · 0 comments
Open

Uglify name mangling breaks qmlweb #457

Plaristote opened this issue Mar 26, 2022 · 0 comments

Comments

@Plaristote
Copy link
Member

The minimized built qmlweb.min.js doesn't work, since registerQmlType relies on constructor names.

I've been able to build qmlweb with proper minimization options using the command-line Uglifyjs tool. Basically, we just run it bare, zero options, and it works.

I haven't been able to reach the same result using Gulp. I should supposedly send the {mangle: false} option, but that doesn't seem to change anything.

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

1 participant