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

fix: remove script length check when initializing service worker #100

Merged

Conversation

shyam-builder
Copy link
Contributor

Remove Script Length check to ensure service workers are always initialized regardless of whether any text/partytown scripts are present or not.

This is to ensure that we can handle pages which load text/partytown scripts async, which are sometimes loaded after the initial check for partytown is done.

@vercel
Copy link

vercel bot commented Mar 7, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/builder-io/partytown/FTqcvzyUeva12DeXepkbbVUxrYgt
✅ Preview: https://partytown-git-fork-shyam-builder-shyam-remove-fe6097-builder-io.vercel.app

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.

2 participants