Skip to content

Commit aa28e9c

Browse files
committed
refactor: reuse htmlNesting from compiler-dom
1 parent e5af194 commit aa28e9c

File tree

3 files changed

+2
-197
lines changed

3 files changed

+2
-197
lines changed

packages/compiler-dom/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,5 @@ export {
7575
DOMErrorMessages,
7676
} from './errors'
7777
export { resolveModifiers } from './transforms/vOn'
78+
export { isValidHTMLNesting } from './htmlNesting'
7879
export * from '@vue/compiler-core'

packages/compiler-vapor/src/html-nesting.ts

Lines changed: 0 additions & 196 deletions
This file was deleted.

packages/compiler-vapor/src/transforms/transformElement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isValidHTMLNesting } from '../html-nesting'
1+
import { isValidHTMLNesting } from '@vue/compiler-dom'
22
import {
33
type AttributeNode,
44
type ComponentNode,

0 commit comments

Comments
 (0)