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 f300dc4 commit 7a3688fCopy full SHA for 7a3688f
.changeset/curvy-pillows-act.md
@@ -0,0 +1,5 @@
1
+---
2
+"@varlock/vite-integration": patch
3
4
+
5
+fix for local dev with cloudflare+vite
packages/integrations/vite/src/index.ts
@@ -208,11 +208,6 @@ export function varlockVitePlugin(
208
// default to injecting varlock init code only
209
ssrInjectMode ??= 'init-only';
210
211
- // in dev mode, we only need to inject init code
212
- // because we'll already have the resolved env available
213
- // from the vite plugin itself already loading it
214
- if (isDevEnv) ssrInjectMode = 'init-only';
215
-
216
debug('ssrInjectMode =', ssrInjectMode);
217
if (ssrInjectMode === 'auto-load') {
218
injectCode.push(
0 commit comments