refactor: move dom tag config to shared

Otherwise runtime-dom cjs & esm builds will import compiler-dom
This commit is contained in:
Evan You
2019-11-06 15:22:46 -05:00
parent acbbe3298c
commit d7eab51315
5 changed files with 8 additions and 8 deletions

View File

@@ -7,8 +7,7 @@ import {
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'
import { isFunction, isString } from '@vue/shared'
import { isFunction, isString, isHTMLTag, isSVGTag } from '@vue/shared'
const { render: baseRender, createApp: baseCreateApp } = createRenderer({
patchProp,