File tree 1 file changed +5
-1
lines changed
packages/compiler-sfc/src
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
export const version = __VERSION__
2
2
3
3
// API
4
- export { parse , parseCache } from './parse'
4
+ export { parse } from './parse'
5
5
export { compileTemplate } from './compileTemplate'
6
6
export { compileStyle , compileStyleAsync } from './compileStyle'
7
7
export { compileScript } from './compileScript'
8
8
export { rewriteDefault , rewriteDefaultAST } from './rewriteDefault'
9
9
export { resolveTypeElements , inferRuntimeType } from './script/resolveType'
10
10
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
+
11
15
// TODO remove in 3.4
12
16
export {
13
17
shouldTransform as shouldTransformRef ,
You can’t perform that action at this time.
0 commit comments