Svelte

Replace virtual modules with generated modules

#15212

Development PR

Issue

Open
B
benmccann
Jan 27, 2026, 5:32 PM

Describe the problem

You can't use code in lib/db to setup your e2e tests if it uses $env because Vite doesn't run in the Playwright context

Describe the proposed solution

Replace virtual modules with generated modules

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

👍 5❤️ 5

Info

Assignees None
Labels None
Milestone 3.0

Pro tip: You can prefix GitHub URLs of issues, PRs or discussions with svcl.dev/ to view them on this page! Also try it on a GitHub release ;)