Skip to content

Commit e39cd00

Browse files
committedSep 27, 2021
feat(tsbb): outDir add a default value.
1 parent 49f7145 commit e39cd00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎packages/tsbb/src/cli.ts

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ const argv: ArgvArguments = parser(process.argv.slice(2), {
7474
if (argv.disableBabel === undefined) {
7575
argv.disableBabel = false;
7676
}
77+
78+
if (!tsConf.compilerOptions.outDir) {
79+
tsConf.compilerOptions.outDir = 'lib';
80+
}
81+
7782
if (argv._[0] === 'build') {
7883
return build(argv, { ...tsConf.compilerOptions });
7984
}

0 commit comments

Comments
 (0)
Please sign in to comment.