From 0119ebe6dcab0c0e3d4e0d6555df66248b9fe3a6 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 3 Jul 2023 15:11:27 +0000 Subject: [PATCH] fix: allow synthetic default imports --- src/build.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/build.ts b/src/build.ts index 374943bddc..7c1fb56ed4 100644 --- a/src/build.ts +++ b/src/build.ts @@ -214,6 +214,7 @@ declare module 'nitropack' { allowJs: true, resolveJsonModule: true, jsx: "preserve", + allowSyntheticDefaultImports: true, jsxFactory: "h", jsxFragmentFactory: "Fragment", paths: {