Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac33320

Browse files
authored
feat: allow synthetic default imports when testing typescript for esm (#203)
1 parent e51124a commit ac33320

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pack-n-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ export async function packNTest(options: TestOptions) {
165165
compilerOptions: {
166166
rootDir: '.',
167167
resolveJsonModule: true,
168+
allowSyntheticDefaultImports: true,
168169
},
169170
};
170171

0 commit comments

Comments
 (0)