refactor: move compile into compiler-core
This commit is contained in:
@@ -164,7 +164,7 @@ describe('compiler: transform', () => {
|
||||
const ast = parse(`<div/>`)
|
||||
const loc = ast.children[0].loc.start
|
||||
const plugin: Transform = (node, context) => {
|
||||
context.onError(
|
||||
context.emitError(
|
||||
createCompilerError(ErrorCodes.X_INVALID_END_TAG, node.loc.start)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user