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

Prevent optimizer plugins from erroneously stripping HTML comments from JS #165

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

westonruter
Copy link
Collaborator

Plugins which try to optimize HTML output by stripping HTML comments can erroneously strip them from JS logic in the service worker. This should prevent that from happening.

Fixes #155.

@westonruter
Copy link
Collaborator Author

Fix confirmed in #155 (comment)

@westonruter westonruter merged commit 24e78a6 into master Jun 3, 2019
@westonruter westonruter deleted the improve/html-comment-resiliency branch June 3, 2019 23:50
@westonruter westonruter added this to the 0.3 milestone Jul 29, 2019
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.

Errors with service worker js
1 participant