mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
fix(compiler-sfc): export parseComponent for compat with fork-ts-checker-webpack-plugin
fix #12719
This commit is contained in:
parent
bc5b92adde
commit
0d6d972b32
@ -6,6 +6,13 @@ export { compileScript } from './compileScript'
|
||||
export { generateCodeFrame } from 'compiler/codeframe'
|
||||
export { rewriteDefault } from './rewriteDefault'
|
||||
|
||||
// For backwards compat only. Some existing tools like
|
||||
// fork-ts-checker-webpack-plugin relies on its presence for differentiating
|
||||
// between Vue 2 and Vue 3.
|
||||
// ref #12719
|
||||
// ref https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/765
|
||||
export { parseComponent } from './parseComponent'
|
||||
|
||||
// types
|
||||
export { SFCParseOptions } from './parse'
|
||||
export { CompilerOptions, WarningMessage } from 'types/compiler'
|
||||
|
Loading…
Reference in New Issue
Block a user