Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit be91d43

Browse files
花果山大圣sxzz
花果山大圣
authored andcommittedSep 22, 2023
feat(compiler-core): export error message (#8729)
1 parent d52617f commit be91d43

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎packages/compiler-core/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export {
2424
export { generate, type CodegenContext, type CodegenResult } from './codegen'
2525
export {
2626
ErrorCodes,
27+
errorMessages,
2728
createCompilerError,
2829
type CoreCompilerError,
2930
type CompilerError

‎packages/compiler-dom/src/index.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,9 @@ export function parse(template: string, options: ParserOptions = {}): RootNode {
6868

6969
export * from './runtimeHelpers'
7070
export { transformStyle } from './transforms/transformStyle'
71-
export { createDOMCompilerError, DOMErrorCodes } from './errors'
71+
export {
72+
createDOMCompilerError,
73+
DOMErrorCodes,
74+
DOMErrorMessages
75+
} from './errors'
7276
export * from '@vue/compiler-core'

0 commit comments

Comments
 (0)
Please sign in to comment.