Skip to content

Allow to fail on error option#145

Merged
coderaiser merged 1 commit intocoderaiser:masterfrom
AronNovak:fail-on-error
Mar 4, 2026
Merged

Allow to fail on error option#145
coderaiser merged 1 commit intocoderaiser:masterfrom
AronNovak:fail-on-error

Conversation

@AronNovak
Copy link
Contributor

We should make it configurable if we want an exit code non-zero upon failure of a minification or not.

Like in CI environment, we certainly don't want the broken JS to reach the production site.

@coderaiser
Copy link
Owner

coderaiser commented Mar 4, 2026

Absolutely agree with you! I think we should make it default behavior

@coderaiser coderaiser merged commit ade1def into coderaiser:master Mar 4, 2026
0 of 6 checks passed
@coderaiser
Copy link
Owner

Landed in Minify v15.1.0 🎉

@AronNovak AronNovak deleted the fail-on-error branch March 4, 2026 20:17
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