Explorar el Código

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

meteorlxy hace 5 años
padre
commit
bc64c60c7e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/compiler-sfc/src/index.ts

+ 2 - 2
packages/compiler-sfc/src/index.ts

@@ -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'