diff --git a/.changeset/wild-mice-think.md b/.changeset/wild-mice-think.md new file mode 100644 index 0000000..b3493c2 --- /dev/null +++ b/.changeset/wild-mice-think.md @@ -0,0 +1,5 @@ +--- +"arc-vite": patch +--- + +Fix syntax error in generated code when multiple arc conditions used. diff --git a/src/plugins/build-web.ts b/src/plugins/build-web.ts index 0cc48d6..c81b336 100644 --- a/src/plugins/build-web.ts +++ b/src/plugins/build-web.ts @@ -503,7 +503,7 @@ export function pluginBuildWeb({ matchCodeSep = ":"; } - manifestCode += `:${JSON.stringify(defaultFlaggedAssets.manifest)}`; + manifestCode += `:${JSON.stringify(defaultFlaggedAssets.manifest)};`; } manifestCode += `}return {"head": [""]}};\n`;