withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
43.84k stars 2.28k forks source link

fix(container): breakdown files to avoid importing `vite` #11327

Closed ematipico closed 2 days ago

ematipico commented 4 days ago

Changes

Closes https://github.com/withastro/astro/issues/11128

The container was indirectly pulling and importing some modules that were importing vite.

This PR attempts to breakdown the files in order to not import vite inside astro/container

Testing

I tested locally the reproduction provided.

Docs

N/A

changeset-bot[bot] commented 4 days ago

🦋 Changeset detected

Latest commit: 8c3e3f095dfd3ba972369ab5c00a5fc5373ba903

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR