Minor Changes
-
#622
6f90d87- AddvarlockSvelteKitCloudflarePluginfor SvelteKit + Cloudflare Workers projectsNew
varlockSvelteKitCloudflarePluginexported from@varlock/cloudflare-integration/sveltekitfor SvelteKit projects deploying via@sveltejs/adapter-cloudflare. UnlikevarlockCloudflareVitePlugin, it does not include@cloudflare/vite-plugin(which doesn't support SvelteKit — see cloudflare/workers-sdk#8922). Instead it injects thecloudflare:workersruntime env loader into SvelteKit's SSR entry and externalizes the import so Rollup preserves it in the built_worker.js. Non-sensitive vars and the__VARLOCK_ENVsecret are still uploaded viavarlock-wrangler deploy.Also adds a conflict guard to
varlockCloudflareVitePluginthat errors when the user has manually added@cloudflare/vite-pluginto avoid silent double-registration.