mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(vite-node): wrong entry been resolved in stub mode (#3983)
This commit is contained in:
parent
281784d238
commit
9c2e208090
@ -50,6 +50,9 @@ async function writeManifest () {
|
||||
let render
|
||||
|
||||
export default async (ssrContext) => {
|
||||
// Workaround for stub mode
|
||||
// https://github.com/nuxt/framework/pull/3983
|
||||
process.server = true
|
||||
render = render || (await runner.executeFile(entry)).default
|
||||
const result = await render(ssrContext)
|
||||
await writeManifest()
|
||||
|
Loading…
Reference in New Issue
Block a user