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

Separate HTML processing as a mixin #159

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Separate HTML processing as a mixin #159

merged 1 commit into from
Jun 21, 2023

Conversation

tushuhei
Copy link
Member

Fix #158

This change separates HTML processing from Parser as the HTMLProcessing mixin. With this change, users can use the base parser under the environment that has no window reference. Refer to demo/src/worker.ts for the Web Worker usage.

Also, this changes adds the sideEffects field to package.json to make sure that the bundlers shake off unused HTML processing part of code.

Change-Id: I69d760ae9d1a16c3a486bfe11d006394f42ebbf7
@tushuhei tushuhei requested a review from kojiishi June 21, 2023 02:35
Copy link
Collaborator

@kojiishi kojiishi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@tushuhei tushuhei merged commit 114fef7 into main Jun 21, 2023
@tushuhei tushuhei deleted the webworker branch December 12, 2023 08:33
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.

[configuration] Usage on browser's web worker
2 participants