We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7efbfcd commit 26978a7Copy full SHA for 26978a7
src/commands/build.ts
@@ -82,7 +82,7 @@ async function buildTypeScript(
82
await execa("npx", [
83
"tsc",
84
...compilerOptionsToArgs(typeScriptCompilerOptions("esm")),
85
- options.incremental ? "--incremental" : "",
+ ...(options.incremental ? ["--incremental"] : []),
86
"--outDir",
87
join(buildPath, "esm"),
88
])
@@ -92,7 +92,7 @@ async function buildTypeScript(
92
93
94
...compilerOptionsToArgs(typeScriptCompilerOptions("cjs")),
95
96
97
join(buildPath, "cjs"),
98
0 commit comments