🐛 BUG: Partytown's Integration does not respect Astro's base config option #3432
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
help wanted
Please help with this issue!
What version of
astro
are you using?v1.0.0-beta.31
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Linux
Describe the Bug
With this astro configuration:
Partytown's integration build its files under the
dist/test/~partytown/
directory, but the js snippet that it generates does not contain the correct path to load the service worker script.To reproduce this, just
npm run build
andnpm run preview
on the following stackblitz project and you must see this error:Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-5ufy4j-st5s17
Participation
The text was updated successfully, but these errors were encountered: