sveltejs / svelte

Cybernetically enhanced web apps
https://svelte.dev
MIT License
78.46k stars 4.11k forks source link

Svelte does not support import maps #13372

Open Ocean-OS opened 5 hours ago

Ocean-OS commented 5 hours ago

Describe the bug

If you try to use an import map in Svelte, it does not compile and throws an error.

Reproduction

REPL link

Logs

No response

System Info

System info is not relevant here. 
The error is in all versions of Svelte.

Severity

annoyance

Conduitry commented 4 hours ago

This doesn't sound like the compiler's responsibility to me. This should be a bundler thing. In any case, this is definitely a feature request that would need to be ironed out and agreed on, not a bug.