diff --git a/src/html/parser.ts b/src/html/parser.ts index 9a6c1be..82edb7d 100644 --- a/src/html/parser.ts +++ b/src/html/parser.ts @@ -302,6 +302,7 @@ export class Parser { yield getParserLangFromSFC(doc) }, ), + project: undefined, } const scriptParserOptions = { ...this.baseParserOptions, diff --git a/src/index.ts b/src/index.ts index 20a067f..f4e0077 100644 --- a/src/index.ts +++ b/src/index.ts @@ -164,6 +164,7 @@ function parseAsSFC(code: string, options: ParserOptions) { yield "