Skip to content

Commit c5c4046

Browse files
committed
chore: only import from listed peer dep
1 parent 8c675b5 commit c5c4046

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

packages/server-renderer/src/helpers/ssrCompile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentInternalInstance, warn } from '@vue/runtime-core'
1+
import { ComponentInternalInstance, warn } from 'vue'
22
import { compile } from '@vue/compiler-ssr'
33
import { generateCodeFrame, NO } from '@vue/shared'
44
import { CompilerError } from '@vue/compiler-core'

packages/server-renderer/src/helpers/ssrRenderComponent.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import {
2-
Component,
3-
ComponentInternalInstance,
4-
createVNode,
5-
Slots
6-
} from '@vue/runtime-core'
1+
import { Component, ComponentInternalInstance, createVNode, Slots } from 'vue'
72
import { Props, renderComponentVNode, SSRBuffer } from '../render'
83
import { SSRSlots } from './ssrRenderSlot'
94

packages/server-renderer/src/helpers/ssrRenderSlot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentInternalInstance, Slot, Slots } from '@vue/runtime-core'
1+
import { ComponentInternalInstance, Slot, Slots } from 'vue'
22
import { Props, PushFn, renderVNodeChildren } from '../render'
33

44
export type SSRSlots = Record<string, SSRSlot>

packages/server-renderer/src/helpers/ssrRenderTeleport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentInternalInstance, ssrContextKey } from '@vue/runtime-core'
1+
import { ComponentInternalInstance, ssrContextKey } from 'vue'
22
import { createBuffer, PushFn, SSRBufferItem, SSRContext } from '../render'
33

44
export function ssrRenderTeleport(

packages/server-renderer/src/render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
VNodeArrayChildren,
1313
VNodeProps,
1414
warn
15-
} from '@vue/runtime-core'
15+
} from 'vue'
1616
import {
1717
escapeHtml,
1818
escapeHtmlComment,

0 commit comments

Comments
 (0)