-
Notifications
You must be signed in to change notification settings - Fork 570
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
Ignore custom fragments for minifyCSS #929
Ignore custom fragments for minifyCSS #929
Conversation
@alexlamsl as you can see here: 4eb22fe Should |
That will break as soon as there exists an instance of And if you try to use the numeral settings, the ordering of existing and injected But as you stated in the code comment, upcoming Note that the same custom fragment issue would apply to JavaScript snippets since May be this PR should just be picking up any tokenizer warnings from |
I agree about how to handle of warnings of I think we should show a warning about |
This reverts commit 4eb22fe.
These tests are failing because they depends of html-minifier/tests/minifier.js Line 645 in 8043e97
html-minifier/tests/minifier.js Line 693 in 8043e97
html-minifier/tests/minifier.js Line 3238 in 8043e97
|
https://travis-ci.org/kangax/html-minifier/jobs/384392625 To avoid breaking backwards compatibility I suggest to add a new option called |
@alexlamsl could you please review the changes and my suggestion? I can't use the |
I couldn't see a way for this change to not break other existing use cases - may be Until then, I'll leave this open until a proper solution comes to mind. |
Closes #928