Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit cb15ec9

Browse files
committed
default
1 parent 6fe70f4 commit cb15ec9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/swc/options.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ export const initProgram = () => {
8383

8484
program.option(
8585
"--out-file-extension [string]",
86-
"Use a specific extension for the output files [default: js]"
86+
"Use a specific extension for the output files [default: js]",
87+
"js"
8788
);
8889

8990
program.option(
@@ -93,7 +94,8 @@ export const initProgram = () => {
9394

9495
program.option(
9596
"--strip-leading-paths",
96-
"Remove the leading directory (including all parent relative paths) when building the final output path"
97+
"Remove the leading directory (including all parent relative paths) when building the final output path",
98+
false
9799
);
98100

99101
program.option(

0 commit comments

Comments
 (0)