2019-11-07 10:58:15 +08:00
|
|
|
// API
|
|
|
|
export { parse } from './parse'
|
|
|
|
export { compileTemplate } from './compileTemplate'
|
|
|
|
export { compileStyle, compileStyleAsync } from './compileStyle'
|
2021-11-26 14:22:26 +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
|
2021-12-12 00:04:38 +08:00
|
|
|
} from '@vue/reactivity-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-09-23 12:13:54 +08:00
|
|
|
// technically internal but we want it in @vue/repl, cast it as any to avoid
|
|
|
|
// relying on estree types
|
|
|
|
import { walk as _walk } from 'estree-walker'
|
|
|
|
export const walk = _walk as any
|
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,
|
2021-12-12 11:42:50 +08:00
|
|
|
SFCStyleBlock,
|
|
|
|
SFCParseResult
|
2019-11-07 10:58:15 +08:00
|
|
|
} 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'
|
2021-12-12 11:42:50 +08:00
|
|
|
export { AssetURLOptions, AssetURLTagConfig } from './templateTransformAssetUrl'
|
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'
|