We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392c284 commit a7bb8aeCopy full SHA for a7bb8ae
packages/kit/src/exports/vite/index.js
@@ -406,7 +406,7 @@ async function kit({ svelte_config }) {
406
407
const illegal_module = strip_virtual_prefix(relative);
408
409
- if (illegal_module.startsWith('$env/') && import_map.has(illegal_module)) {
+ if (import_map.has(illegal_module)) {
410
const importer = path.relative(
411
cwd,
412
/** @type {string} */ (import_map.get(illegal_module))
0 commit comments