Skip to content

Commit

Permalink
feat(compiler-core): export error message (#8729)
Browse files Browse the repository at this point in the history
  • Loading branch information
花果山大圣 authored and sxzz committed Sep 5, 2023
1 parent f5088d2 commit ef8070c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/compiler-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export {
export { generate, type CodegenContext, type CodegenResult } from './codegen'
export {
ErrorCodes,
errorMessages,
createCompilerError,
type CoreCompilerError,
type CompilerError
Expand Down
6 changes: 5 additions & 1 deletion packages/compiler-dom/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,9 @@ export function parse(template: string, options: ParserOptions = {}): RootNode {

export * from './runtimeHelpers'
export { transformStyle } from './transforms/transformStyle'
export { createDOMCompilerError, DOMErrorCodes } from './errors'
export {
createDOMCompilerError,
DOMErrorCodes,
DOMErrorMessages
} from './errors'
export * from '@vue/compiler-core'

0 comments on commit ef8070c

Please sign in to comment.