Skip to content

BUG: Partytown's Integration does not respect lib option #8760

@LefanTan

Description

@LefanTan

Astro Info

Astro                    v3.0.8
Node                     v18.17.1
System                   macOS (arm64)
Package Manager          npm
Output                   server
Adapter                  @astrojs/node
Integrations             @astrojs/tailwind
                         @astrojs/vue
                         astro-icon
                         post:build
                         @astrojs/partytown

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

I've noticed that the source code doesn't respect the lib option provided through astro.config.mjs. Our application requires that we host our assets from a different folder path, is it possible for us to override the default config for lib? Much appreciated.

image
image

What's the expected result?

Provide custom lib path to Astro's Partytown integration.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-skk9gg?file=dist%2Ffavicon.svg

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P2: nice to haveNot breaking anything but nice to have (priority)help wantedPlease help with this issue!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions