2019-11-07 10:58:15 +08:00
|
|
|
// API
|
|
|
|
export { parse } from './parse'
|
|
|
|
export { compileTemplate } from './compileTemplate'
|
|
|
|
export { compileStyle, compileStyleAsync } from './compileStyle'
|
2020-08-29 04:21:03 +08:00
|
|
|
export { compileScript } from './compileScript'
|
2020-07-11 04:30:58 +08:00
|
|
|
export { rewriteDefault } from './rewriteDefault'
|
2021-08-23 10:21:42 +08:00
|
|
|
export {
|
2021-08-24 00:19:41 +08:00
|
|
|
shouldTransform as shouldTransformRef,
|
2021-08-23 10:21:42 +08:00
|
|
|
transform as transformRef,
|
|
|
|
transformAST as transformRefAST
|
|
|
|
} from '@vue/ref-transform'
|
2019-11-07 10:58:15 +08:00
|
|
|
|
2021-03-28 13:35:45 +08:00
|
|
|
// Utilities
|
|
|
|
export { parse as babelParse } from '@babel/parser'
|
|
|
|
import MagicString from 'magic-string'
|
|
|
|
export { MagicString }
|
2021-03-29 06:41:33 +08:00
|
|
|
export { walk } from 'estree-walker'
|
2021-08-24 01:55:06 +08:00
|
|
|
export {
|
|
|
|
generateCodeFrame,
|
|
|
|
walkIdentifiers,
|
|
|
|
extractIdentifiers,
|
|
|
|
isInDestructureAssignment,
|
|
|
|
isStaticProperty
|
|
|
|
} from '@vue/compiler-core'
|
2021-03-28 13:35:45 +08:00
|
|
|
|
2019-11-07 10:58:15 +08:00
|
|
|
// Types
|
|
|
|
export {
|
|
|
|
SFCParseOptions,
|
|
|
|
SFCDescriptor,
|
|
|
|
SFCBlock,
|
|
|
|
SFCTemplateBlock,
|
|
|
|
SFCScriptBlock,
|
|
|
|
SFCStyleBlock
|
|
|
|
} from './parse'
|
2019-12-11 22:46:42 +08:00
|
|
|
export {
|
|
|
|
TemplateCompiler,
|
2019-12-14 00:24:09 +08:00
|
|
|
SFCTemplateCompileOptions,
|
|
|
|
SFCTemplateCompileResults
|
2019-12-11 22:46:42 +08:00
|
|
|
} from './compileTemplate'
|
2020-04-25 05:11:41 +08:00
|
|
|
export {
|
|
|
|
SFCStyleCompileOptions,
|
|
|
|
SFCAsyncStyleCompileOptions,
|
|
|
|
SFCStyleCompileResults
|
|
|
|
} from './compileStyle'
|
2020-07-11 10:12:25 +08:00
|
|
|
export { SFCScriptCompileOptions } from './compileScript'
|
2019-12-23 08:44:21 +08:00
|
|
|
export {
|
|
|
|
CompilerOptions,
|
|
|
|
CompilerError,
|
2020-08-27 03:22:11 +08:00
|
|
|
BindingMetadata
|
2019-12-23 08:44:21 +08:00
|
|
|
} from '@vue/compiler-core'
|