To setup Partytown in an Solid project take the following steps.
Install
Use your favorite package manager to install @qwik.dev/partytown dependency and
copy the Partytown files to the local filesystem using the Vite plugin.
Adopting this strategy from the Partytown + Vite docs:
Script Setup
The snippet below shows you how to setup Partytown scripts in your index.html file. The first script tag takes the Partytown configuration. The second script tag references the Partytown JS file and the third file takes the third-party scripts to be loaded on the web-worker.