chore(benchmarks:ssr): createRenderer function path error (#12601)

This commit is contained in:
码农小余 2022-07-04 10:58:42 +08:00 committed by GitHub
parent e452e9d436
commit 86fb6bd151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
process.env.NODE_ENV = 'production'
const Vue = require('../../dist/vue.runtime.common.js')
const createRenderer = require('../../packages/vue-server-renderer').createRenderer
const createRenderer = require('../../packages/server-renderer').createRenderer
const renderToStream = createRenderer().renderToStream
const gridComponent = require('./common.js')

View File

@ -3,7 +3,7 @@
process.env.NODE_ENV = 'production'
const Vue = require('../../dist/vue.runtime.common.js')
const createRenderer = require('../../packages/vue-server-renderer').createRenderer
const createRenderer = require('../../packages/server-renderer').createRenderer
const renderToString = createRenderer().renderToString
const gridComponent = require('./common.js')