Skip to content

Commit c3f0d49

Browse files
chore: Move tsbuildinfo from test-utils to lib (#3526)
1 parent 727c496 commit c3f0d49

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

build-tools/tasks/test-utils.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,19 @@ function compileTypescript(theme) {
1616
return task(`typescript:test-utils:${theme.name}`, async () => {
1717
const config = path.resolve(testUtilsSrcDir, 'tsconfig.json');
1818
const outDir = path.join(theme.outputPath, 'test-utils');
19-
await execa('tsc', ['-p', config, '--outDir', outDir, '--sourceMap'], { stdio: 'inherit' });
19+
await execa(
20+
'tsc',
21+
[
22+
'-p',
23+
config,
24+
'--outDir',
25+
outDir,
26+
'--tsBuildInfoFile',
27+
`./lib/${theme.name}-test-utils.tsbuildinfo`,
28+
'--sourceMap',
29+
],
30+
{ stdio: 'inherit' }
31+
);
2032
});
2133
}
2234

0 commit comments

Comments
 (0)