-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Detect svelte.config.mjs
for Deno
#12678
Comments
An alternative solution would be to check for a |
What's speaking against adding |
This fixed the issue. I mistakenly assumed this as Deno-related problem but it seems not. I will close the issue. Sorry for bothering. |
Describe the problem
SvelteKit currently doesn't officially support
svelte.config.mjs
, and I understand why (as discussed in #12331). However, this becomes a problem when using SvelteKit with Deno because, unlike Node.js, Deno recognizes a file as a module only if it has an.mjs
extension. Due to this, the Svelte IntelliSense incorrectly shows an error:This issue is similar to one faced by Vite, which was resolved by using
vite.config.mjs
.Although, Deno is a very niche development runtime for SvelteKit, it would be nice to have support for it in SvelteKit.
Describe the proposed solution
Make SvelteKit detect
svelte.config.mjs
as a configuration file.Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: