Skip to content

Commit a7bb8ae

Browse files
committed
remove env check
1 parent 392c284 commit a7bb8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/src/exports/vite/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ async function kit({ svelte_config }) {
406406

407407
const illegal_module = strip_virtual_prefix(relative);
408408

409-
if (illegal_module.startsWith('$env/') && import_map.has(illegal_module)) {
409+
if (import_map.has(illegal_module)) {
410410
const importer = path.relative(
411411
cwd,
412412
/** @type {string} */ (import_map.get(illegal_module))

0 commit comments

Comments
 (0)