这是indexloc提供的服务,不要输入任何密码
Skip to content

Uglify name mangling breaks qmlweb #457

@Plaristote

Description

@Plaristote

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions