mirror of https://github.com/vuejs/core.git
chore(compiler-vapor): use compiler-dom instead of compiler-core (#13364)
This commit is contained in:
parent
b9dc8658cb
commit
b96447dd41
|
@ -13,7 +13,7 @@ import {
|
||||||
type BindingMetadata,
|
type BindingMetadata,
|
||||||
BindingTypes,
|
BindingTypes,
|
||||||
NodeTypes,
|
NodeTypes,
|
||||||
} from '@vue/compiler-core'
|
} from '@vue/compiler-dom'
|
||||||
|
|
||||||
const compileWithElementTransform = makeCompile({
|
const compileWithElementTransform = makeCompile({
|
||||||
nodeTransforms: [
|
nodeTransforms: [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ErrorCodes, NodeTypes } from '@vue/compiler-core'
|
import { ErrorCodes, NodeTypes } from '@vue/compiler-dom'
|
||||||
import {
|
import {
|
||||||
IRNodeTypes,
|
IRNodeTypes,
|
||||||
transformChildren,
|
transformChildren,
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {
|
||||||
transformVOnce,
|
transformVOnce,
|
||||||
transformVText,
|
transformVText,
|
||||||
} from '../../src'
|
} from '../../src'
|
||||||
import { NodeTypes } from '@vue/compiler-core'
|
import { NodeTypes } from '@vue/compiler-dom'
|
||||||
|
|
||||||
const compileWithVIf = makeCompile({
|
const compileWithVIf = makeCompile({
|
||||||
nodeTransforms: [
|
nodeTransforms: [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ErrorCodes, NodeTypes } from '@vue/compiler-core'
|
import { ErrorCodes, NodeTypes } from '@vue/compiler-dom'
|
||||||
import {
|
import {
|
||||||
IRNodeTypes,
|
IRNodeTypes,
|
||||||
IRSlotType,
|
IRSlotType,
|
||||||
|
|
|
@ -34,7 +34,7 @@ import {
|
||||||
isMemberExpression,
|
isMemberExpression,
|
||||||
toValidAssetId,
|
toValidAssetId,
|
||||||
walkIdentifiers,
|
walkIdentifiers,
|
||||||
} from '@vue/compiler-core'
|
} from '@vue/compiler-dom'
|
||||||
import { genEventHandler } from './event'
|
import { genEventHandler } from './event'
|
||||||
import { genDirectiveModifiers, genDirectivesForElement } from './directive'
|
import { genDirectiveModifiers, genDirectivesForElement } from './directive'
|
||||||
import { genBlock } from './block'
|
import { genBlock } from './block'
|
||||||
|
|
|
@ -2,7 +2,7 @@ import {
|
||||||
NewlineType,
|
NewlineType,
|
||||||
type SimpleExpressionNode,
|
type SimpleExpressionNode,
|
||||||
isSimpleIdentifier,
|
isSimpleIdentifier,
|
||||||
} from '@vue/compiler-core'
|
} from '@vue/compiler-dom'
|
||||||
import type { CodegenContext } from '../generate'
|
import type { CodegenContext } from '../generate'
|
||||||
import {
|
import {
|
||||||
IRDynamicPropsKind,
|
IRDynamicPropsKind,
|
||||||
|
|
|
@ -9,7 +9,7 @@ import {
|
||||||
createSimpleExpression,
|
createSimpleExpression,
|
||||||
isStaticArgOf,
|
isStaticArgOf,
|
||||||
isStaticExp,
|
isStaticExp,
|
||||||
} from '@vue/compiler-core'
|
} from '@vue/compiler-dom'
|
||||||
import type { NodeTransform, TransformContext } from '../transform'
|
import type { NodeTransform, TransformContext } from '../transform'
|
||||||
import {
|
import {
|
||||||
type BlockIRNode,
|
type BlockIRNode,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {
|
||||||
createCompilerError,
|
createCompilerError,
|
||||||
isTemplateNode,
|
isTemplateNode,
|
||||||
isVSlot,
|
isVSlot,
|
||||||
} from '@vue/compiler-core'
|
} from '@vue/compiler-dom'
|
||||||
import type { NodeTransform, TransformContext } from '../transform'
|
import type { NodeTransform, TransformContext } from '../transform'
|
||||||
import { newBlock } from './utils'
|
import { newBlock } from './utils'
|
||||||
import {
|
import {
|
||||||
|
|
Loading…
Reference in New Issue