fix(compiler-ssr): import ssr helpers from updated path

This commit is contained in:
Evan You
2021-09-22 23:28:13 -04:00
parent f730ed9177
commit d74f21a42c
12 changed files with 73 additions and 73 deletions

View File

@@ -363,7 +363,7 @@ function genFunctionPreamble(ast: RootNode, context: CodegenContext) {
push(
`const { ${ast.ssrHelpers
.map(aliasHelper)
.join(', ')} } = require("@vue/server-renderer")\n`
.join(', ')} } = require("vue/server-renderer")\n`
)
}
genHoists(ast.hoists, context)