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

Don't attempt to minify script/style tags with no content #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RealOrangeOne
Copy link

This is more common with script tags, where most uses will reference external script files than inline scripts.

Skipping this, even when JS / CSS minification is enabled avoids the need to spin up the minification libraries entirly.

I've intentionally made the code change here, rather than where ScriptOrStyleContent is determined, as the code change was significantly smaller with the same effect.

This is more common with `script` tags, where most uses will reference external script files than inline scripts.

Skipping this, even when JS / CSS minification is enabled avoids the need to spin up the minification libraries entirly.
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.

None yet

1 participant