partytown
partytown copied to clipboard
[🐞] 'lib' config ignored for astro partytown integration
Describe the bug
Our website/app is actually served from a subdirectory and an nginx webserver is responsible to serve assets. Therefore the default vanilla config does not work for us. We need to set the lib option to specify where should the partydown script be saved during the build. So:
integrations: [
vue(),
tailwind(),
partytown({
config: {
debug: true,
forward: ["dataLayer.push", "fbq", "_hsq.push"],
lib: "/lala/",
},
}),
],
Reproduction
Steps to reproduce
Browser Info
Chrome
Additional Information
"astro": "^2.6.1",
"@astrojs/partytown": "^1.2.3",