Skip to content

Unable to pass customAttrCollapse option to html-minifier #44

@matthieusieben

Description

@matthieusieben
browserify app.js --debug -t [ stringify --minify --minifyOptions [ --customAttrCollapse /ng-class/ ] --extensions [ .html ] ]

Will not work because the customAttrCollapse option is expected to be a regexp. html-minifier's command line interface will parse this argument into a regexp, but stringify does not.

Note that I get the same result with -t [ stringify --minify --minifier [ --options [ --customAttrCollapse /ng-class/ ] ] ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions