chore: move dom element config to compiler-dom
This commit is contained in:
parent
052febc127
commit
bb85aefc03
@ -28,3 +28,4 @@ export function compile(
|
||||
}
|
||||
|
||||
export * from '@vue/compiler-core'
|
||||
export * from './tagConfig'
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
Namespaces,
|
||||
NodeTypes
|
||||
} from '@vue/compiler-core'
|
||||
import { isVoidTag, isHTMLTag, isSVGTag } from '@vue/shared'
|
||||
import { isVoidTag, isHTMLTag, isSVGTag } from './tagConfig'
|
||||
|
||||
export const enum DOMNamespaces {
|
||||
HTML = Namespaces.HTML,
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { makeMap } from './makeMap'
|
||||
import { makeMap } from '../../shared/src/makeMap'
|
||||
|
||||
const HTML_TAGS =
|
||||
'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +
|
@ -1,7 +1,8 @@
|
||||
import { createRenderer } from '@vue/runtime-core'
|
||||
import { isHTMLTag, isSVGTag } from '@vue/shared'
|
||||
import { nodeOps } from './nodeOps'
|
||||
import { patchProp } from './patchProp'
|
||||
// Importing from the compiler, will be tree-shaken in prod
|
||||
import { isHTMLTag, isSVGTag } from '@vue/compiler-dom'
|
||||
|
||||
const { render, createApp } = createRenderer<Node, Element>({
|
||||
patchProp,
|
||||
|
@ -1,5 +1,4 @@
|
||||
export * from './patchFlags'
|
||||
export * from './element'
|
||||
export { isGloballyWhitelisted } from './globalsWhitelist'
|
||||
export { makeMap } from './makeMap'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user