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

fix: allow disabling minification from cli #395

Merged
merged 2 commits into from
May 27, 2019

Conversation

wardpeet
Copy link
Collaborator

@wardpeet wardpeet commented May 25, 2019

It seems like adding --compress=false doesn't work because we never normalize "true"|"false" to a boolean. Now I normalize "false or "0" to a boolean so the compress can be set from the cli.

I don't think many people need this feature but it's easy when debugging output.

@ForsakenHarmony
Copy link
Collaborator

bors r+

bors bot added a commit that referenced this pull request May 27, 2019
395: fix: allow disabling minification from cli r=ForsakenHarmony a=wardpeet

It seems like adding `--compress=false` doesn't work because we never normalize "true"|"false" to a boolean. Now I normalize "false or "0" to a boolean so the compress can be set from the cli.

I don't think many people need this feature but it's easy when debugging output.

Co-authored-by: Ward Peeters <ward@coding-tech.com>
Co-authored-by: Leah <me@hrmny.sh>
@bors
Copy link
Contributor

bors bot commented May 27, 2019

Build failed

@ForsakenHarmony
Copy link
Collaborator

hmm ye the patch update of async promises broke our tests

@ForsakenHarmony ForsakenHarmony changed the base branch from master to dev May 27, 2019 22:23
@ForsakenHarmony ForsakenHarmony merged commit 2913e58 into developit:dev May 27, 2019
@wardpeet wardpeet deleted the fix/compress-false branch May 28, 2019 22:34
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

Successfully merging this pull request may close these issues.

2 participants