vue3-yuanma/packages/compiler-sfc/src/index.ts

33 lines
811 B
TypeScript
Raw Normal View History

2019-11-07 10:58:15 +08:00
// API
export { parse } from './parse'
export { compileTemplate } from './compileTemplate'
export { compileStyle, compileStyleAsync } from './compileStyle'
export { compileScript, analyzeScriptBindings } from './compileScript'
export { rewriteDefault } from './rewriteDefault'
2019-11-07 10:58:15 +08:00
// Types
export {
SFCParseOptions,
SFCDescriptor,
SFCBlock,
SFCTemplateBlock,
SFCScriptBlock,
SFCStyleBlock
} from './parse'
export {
TemplateCompiler,
2019-12-14 00:24:09 +08:00
SFCTemplateCompileOptions,
SFCTemplateCompileResults
} from './compileTemplate'
export {
SFCStyleCompileOptions,
SFCAsyncStyleCompileOptions,
SFCStyleCompileResults
} from './compileStyle'
export { SFCScriptCompileOptions, BindingMetadata } from './compileScript'
export {
CompilerOptions,
CompilerError,
generateCodeFrame
} from '@vue/compiler-core'