test: fix ssr test imports

This commit is contained in:
Evan You 2022-05-20 15:16:14 +08:00
parent 7136e19bc8
commit 5fb1c9d62a
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import LRU from 'lru-cache'
import { compileWithWebpack } from './compile-with-webpack'
import { createBundleRenderer } from '../../packages/vue-server-renderer'
import VueSSRServerPlugin from '../../packages/vue-server-renderer/server-plugin'
import { createBundleRenderer } from 'web/entry-server-renderer'
import VueSSRServerPlugin from 'server/webpack-plugin/server'
;(global as any).__SSR_TEST__ = true

View File

@ -1,7 +1,7 @@
import Vue from '../../dist/vue.runtime.common.js'
import Vue from 'vue'
import { compileWithWebpack } from './compile-with-webpack'
import { createRenderer } from '../../packages/vue-server-renderer'
import VueSSRClientPlugin from '../../packages/vue-server-renderer/client-plugin'
import { createRenderer } from 'web/entry-server-renderer'
import VueSSRClientPlugin from 'server/webpack-plugin/client'
import { createRenderer as createBundleRenderer } from './ssr-bundle-render.spec.js'
;(global as any).__SSR_TEST__ = true