Skip to content

Allow optional setting to disable minifying inline css#11

Open
robertaistleitner wants to merge 3 commits intoarnauddri:masterfrom
usersnap:master
Open

Allow optional setting to disable minifying inline css#11
robertaistleitner wants to merge 3 commits intoarnauddri:masterfrom
usersnap:master

Conversation

@robertaistleitner
Copy link
Copy Markdown

No description provided.

the parameter controls if inline css should be minified (which would break inline css with angular "code" in it)
 + add some missing semicolons
 + add option for conservative collapsing (always leave 1 whitespace to not
break e.g. `<span>hello</span> <span>there</span>`
@robertaistleitner
Copy link
Copy Markdown
Author

I improved the package a little more.. It's now possible to change settings for the minifier, which is no longer htmlmin but the (imho) much better html-minifier library.

I also added an additional option for conservative collapsing whitespaces (which means always leaving one space left between html elements).

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.

1 participant