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

Optional minification & uglification #99

Open
vbwx opened this issue Jun 29, 2015 · 1 comment
Open

Optional minification & uglification #99

vbwx opened this issue Jun 29, 2015 · 1 comment

Comments

@vbwx
Copy link
Contributor

vbwx commented Jun 29, 2015

Related to #30, I think it would make sense to prevent minification of requested files in a development environment (and to always minify them in a production environment). That would make debugging a lot easier when building a site. Alternatively, Harp could offer a command line switch to disable this behavior.

@jimjkelly
Copy link

To add on to this - in hacking in ES6 support, adding imports in results in a lot of duplicate code. By default the settings passed to Uglify turn off mangling and compression. It'd be nice to be able to turn these on somehow, as it results in a significantly smaller payload for me. I'd be open to submitting a PR for this, though Terraform has largely been kinda zero configuration (a strength!) - so I'm not sure there's an avenue to do that. Suggestions? Is this unwanted?

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

2 participants