Patch Changes
-
#13802
a7fd465Thanks @deodad! - Fix.dev.varswritten forvite previewto round-trip values containing quotesWhen the plugin emits
dist/<env>/.dev.varsforvite preview, it previously wrote each value as a double-quoted dotenv string with"escaped to\".dotenv(the parser wrangler uses) does not unescape\"inside double-quoted values, so values containing"arrived at the worker with literal backslashes still in them.The plugin now quotes strings using the first quote character that does not appear in the value (with the priority order: single → backtick → double), all of which dotenv strips correctly. If a value contains every supported quote character it throws instead of silently corrupting the value.
-
Updated dependencies [
2284f20,332f527,039bada,18e833d,b6cea17,1a54ac5,53e846a,f3fed88,beff19c,af42fed,1a54ac5]:- miniflare@4.20260507.0
- wrangler@4.89.0