From 4d65b1584f61c657e4d613679a70efdd1eec2c56 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 3 Feb 2025 10:04:36 +0800 Subject: [PATCH] wip(vapor): match vapor internal flag generated by compiler-sfc with runtime --- packages/compiler-sfc/src/compileScript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index 5403788ed..de096ced3 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -943,7 +943,7 @@ export function compileScript( let runtimeOptions = `` if (vapor) { - runtimeOptions += `\n vapor: true,` + runtimeOptions += `\n __vapor: true,` } if (!ctx.hasDefaultExportName && filename && filename !== DEFAULT_FILENAME) { const match = filename.match(/([^/\\]+)\.\w+$/)