BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. πŸŽ‰

Home Page:https://partytown.builder.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[πŸ“–] How can I load partytown from a pure HTML/JS website?

FANMixco opened this issue Β· comments

Suggestion

I have a website that uses only HTML, CSS and JS. It has no frameworks, no NPM, etc. I want to use party town, but I cannot find any CDN or which file I should load in the <script> tag. Thanks.

You can follow this guide and you can load the package with services like unpkg.
In the Partytown library you can find the compiled scripts inside lib folder.