From 65e108086aaa1208b3528614edd3896be83548fc Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Tue, 3 Dec 2024 00:01:08 -0800 Subject: [PATCH] feat: allow synthetic default imports when testing typescript for esm --- src/pack-n-test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pack-n-test.ts b/src/pack-n-test.ts index a20c590..a1dc629 100644 --- a/src/pack-n-test.ts +++ b/src/pack-n-test.ts @@ -165,6 +165,7 @@ export async function packNTest(options: TestOptions) { compilerOptions: { rootDir: '.', resolveJsonModule: true, + allowSyntheticDefaultImports: true, }, };