style(compiler-sfc): tweak api and types export (#1976)

This commit is contained in:
meteorlxy 2020-08-27 03:22:11 +08:00 committed by GitHub
parent d0cc4b37d0
commit bc64c60c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ export { compileTemplate } from './compileTemplate'
export { compileStyle, compileStyleAsync } from './compileStyle' export { compileStyle, compileStyleAsync } from './compileStyle'
export { compileScript, analyzeScriptBindings } from './compileScript' export { compileScript, analyzeScriptBindings } from './compileScript'
export { rewriteDefault } from './rewriteDefault' export { rewriteDefault } from './rewriteDefault'
export { generateCodeFrame } from '@vue/compiler-core'
// Types // Types
export { export {
@ -28,6 +29,5 @@ export { SFCScriptCompileOptions } from './compileScript'
export { export {
CompilerOptions, CompilerOptions,
CompilerError, CompilerError,
BindingMetadata, BindingMetadata
generateCodeFrame
} from '@vue/compiler-core' } from '@vue/compiler-core'