File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/compiler-sfc/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11export const version = __VERSION__
22
33// API
4- export { parse , parseCache } from './parse'
4+ export { parse } from './parse'
55export { compileTemplate } from './compileTemplate'
66export { compileStyle , compileStyleAsync } from './compileStyle'
77export { compileScript } from './compileScript'
88export { rewriteDefault , rewriteDefaultAST } from './rewriteDefault'
99export { resolveTypeElements , inferRuntimeType } from './script/resolveType'
1010
11+ import { SFCParseResult , parseCache as _parseCache } from './parse'
12+ // #9521 export parseCache as a simple map to avoid exposing LRU types
13+ export const parseCache = _parseCache as Map < string , SFCParseResult >
14+
1115// TODO remove in 3.4
1216export {
1317 shouldTransform as shouldTransformRef ,
You can’t perform that action at this time.
0 commit comments