Skip to content

Commit 9547dc9

Browse files
committed
extend esmoduleinterop inline
1 parent d6e2ecf commit 9547dc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dash/extract-meta.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if (!src.length) {
3737
}
3838

3939
if (fs.existsSync('tsconfig.json')) {
40-
tsconfig = ts.getParsedCommandLineOfConfigFile('tsconfig.json', {}, ts.sys);
40+
tsconfig = ts.getParsedCommandLineOfConfigFile('tsconfig.json', { esModuleInterop: true }, ts.sys);
4141
}
4242

4343
let failedBuild = false;
@@ -187,7 +187,7 @@ function gatherComponents(sources, components = {}) {
187187
return components;
188188
}
189189

190-
const program = ts.createProgram(filepaths, {...tsconfig, esModuleInterop: true});
190+
const program = ts.createProgram(filepaths, tsconfig);
191191
const checker = program.getTypeChecker();
192192

193193
const coerceValue = t => {

0 commit comments

Comments
 (0)