mirror of https://github.com/vuejs/core.git
wip(vapor): match vapor internal flag generated by compiler-sfc with runtime
This commit is contained in:
parent
3464620f12
commit
4d65b1584f
|
@ -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+$/)
|
||||
|
|
Loading…
Reference in New Issue