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

Enhance *express-minify* implementation #1858

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

Martii
Copy link
Member

@Martii Martii commented Nov 25, 2021

Applies to #432


Option added is from https://github.com/OpenUserJS/express-minify/blob/f0696f6d3976b6ac7c138d767bb62ae3835ddb38/index.js#L41

* Docs say exactly "Pass false to disable minifying (JS, CSS and JSON)" which is incorrect. See archived mirror at https://github.com/OpenUserJS/express-minify/blob/f0696f6d3976b6ac7c138d767bb62ae3835ddb38/index.js#L76 . Only does JS and CSS but not JSON.
* Affects admin processes and any meta.json . We already minimize with conditionals of pro vs dev and shouldn't be needed.

Applies to OpenUserJS#432
@Martii Martii added bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. dependency issue Hmmph! A dependency issue labels Nov 25, 2021
@Martii Martii merged commit b89d784 into OpenUserJS:master Nov 25, 2021
@Martii Martii deleted the Issue-432correctToCode branch November 25, 2021 10:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. dependency issue Hmmph! A dependency issue
Development

Successfully merging this pull request may close these issues.

1 participant