We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 749c7d4 commit f7b1f87Copy full SHA for f7b1f87
lib/parse.ts
@@ -52,7 +52,9 @@ export function parse(options: ParseOptions): SFCDescriptor {
52
sourceRoot = '',
53
needMap = true
54
} = options
55
- const cacheKey = hash(filename + source)
+ const cacheKey = hash(
56
+ filename + source + JSON.stringify(compilerParseOptions)
57
+ )
58
let output: SFCDescriptor = cache.get(cacheKey)
59
if (output) return output
60
output = compiler.parseComponent(source, compilerParseOptions)
0 commit comments