Skip to content

Commit 964896e

Browse files
fix: #81 Transpiling LLD config has an issue with the verbatimModuleSyntax TS setting
1 parent e748db9 commit 964896e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/configuration/getConfigFromTsConfigFile.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,24 @@ export async function getConfigTsFromConfigFile(
3535
outfile: compileOutput,
3636
sourcemap: true,
3737
treeShaking: true,
38+
tsconfigRaw: {
39+
compilerOptions: {
40+
esModuleInterop: true,
41+
skipLibCheck: true,
42+
target: 'esnext',
43+
allowJs: true,
44+
resolveJsonModule: true,
45+
moduleDetection: 'force',
46+
isolatedModules: true,
47+
verbatimModuleSyntax: false,
48+
strict: true,
49+
noUncheckedIndexedAccess: true,
50+
noImplicitOverride: true,
51+
module: 'NodeNext',
52+
sourceMap: true,
53+
lib: ['esnext'],
54+
},
55+
},
3856
banner: {
3957
js: [
4058
`import { createRequire as topLevelCreateRequire } from 'module';`,

0 commit comments

Comments
 (0)