]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
style(compiler-sfc): tweak api and types export (#1976)
authormeteorlxy <meteor.lxy@foxmail.com>
Wed, 26 Aug 2020 19:22:11 +0000 (03:22 +0800)
committerGitHub <noreply@github.com>
Wed, 26 Aug 2020 19:22:11 +0000 (15:22 -0400)
packages/compiler-sfc/src/index.ts

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