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

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

Open
kennethormandy opened this issue Feb 2, 2016 · 0 comments
Labels

Comments

@kennethormandy
Copy link
Collaborator

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.

@kennethormandy kennethormandy self-assigned this Feb 2, 2016
@kennethormandy kennethormandy removed their assignment Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant