Skip to content

Duplicate minification of Browserified files, prevents JSX, other Browserify transforms #127

@kennethormandy

Description

@kennethormandy

https://github.com/sintaxi/terraform/blob/master/lib/javascript/index.js#L58

Changing:

cb(null, minify.js(js, minifyOpts))

…to:

cb(null, js, minifyOpts)

…solves the problem in this case (although removes minification elsewhere. The Browserify stuff is still minified after the transforms and compile step. It should only happen once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions