From 22cd4770c1748f1adda46ee2f09e2277d6e1d8fa Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 10 Jun 2024 17:16:26 +0100 Subject: [PATCH] fix(nuxt): ensure payload script executes before entry (#27506) --- packages/nuxt/src/core/runtime/nitro/renderer.ts | 3 +++ test/bundle.test.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/nuxt/src/core/runtime/nitro/renderer.ts b/packages/nuxt/src/core/runtime/nitro/renderer.ts index ebd84414a7..4fc1f2839f 100644 --- a/packages/nuxt/src/core/runtime/nitro/renderer.ts +++ b/packages/nuxt/src/core/runtime/nitro/renderer.ts @@ -455,6 +455,9 @@ export default defineRenderHandler(async (event): Promise