Skip to content

Commit

Permalink
remove env check
Browse files Browse the repository at this point in the history
  • Loading branch information
eltigerchino committed Oct 16, 2024
1 parent 392c284 commit a7bb8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/exports/vite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ async function kit({ svelte_config }) {

const illegal_module = strip_virtual_prefix(relative);

if (illegal_module.startsWith('$env/') && import_map.has(illegal_module)) {
if (import_map.has(illegal_module)) {
const importer = path.relative(
cwd,
/** @type {string} */ (import_map.get(illegal_module))
Expand Down

0 comments on commit a7bb8ae

Please sign in to comment.