-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix windows package export #4141
Conversation
🦋 Changeset detectedLatest commit: 002ceef The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
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 |
49dd18b
to
002ceef
Compare
This seems to be breaking more people than we realized. Given that this is a fairly trivial manifest change with a big impact on RC users, I'd like to merge and release this tonight. |
Shout out to @crutchcorn for also finding this short-term workaround on Discord! |
Might be related to vitejs/vite#8420. It should be fixed though, but perhaps Windows had a special case that still causes it. |
I tried looking into this today in both Vite and how Astro uses Logging around on macos, it seems that we're always only loading either @crutchcorn Do you have a repro and full stack trace to look at for the error? I think that'll help in case I'm debugging the wrong thing. |
Background
Changes
dist/*
paths to the export map so that they become valid imports even in their resolved form.ssrLoadModule()
some refactoring will be needed on our end.@matthewp and @bluwy -- this could be an interesting one to dig into together to at least figure out what Vite is expecting in this case, and maybe why Vite is only erroring on Windows.
Testing
Docs