From 5c07bb484b751ae88085b0b46c417d38ab5d3f57 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 19 Dec 2023 09:20:21 +0000 Subject: [PATCH] fix(vitest-environment): handle different entry format --- src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index 2d4b95593..77ffddea5 100644 --- a/src/config.ts +++ b/src/config.ts @@ -151,8 +151,8 @@ export async function getVitestConfigFromNuxt( transform(code, id) { if (id.match(/nuxt(3|-nightly)?\/.*\/entry\./)) { return code.replace( - /(?