We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Vite adds an extension for deep imports:
vite-plugin-svelte resolves svelte as svelte/ssr when ssr: true:
Vite sees that the resolved path does not equal the original path and then adds .mjs. This file is not exposed in the exports and so it fails.
We should probably skip adding an extension when exports is present.
https://github.com/sveltejs/kit/tree/vite-3 - need to bump from alpha.6 to alpha.8 and then run pnpm build
> Package subpath './ssr.mjs' is not defined by "exports" in packages/kit/node_modules/svelte/package.json imported from packages/kit/test/prerendering/options/.svelte-kit/output/server/index.js
The text was updated successfully, but these errors were encountered:
No branches or pull requests