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 b44b0bb commit bbbfb63Copy full SHA for bbbfb63
rebuild-all.js
@@ -10,6 +10,7 @@ const args = yargs(process.argv.slice(2))
10
.help()
11
.boolean("ci")
12
.default("ci", false)
13
+ .default("restartWith", "")
14
.describe("ci", "Use npm ci or npm install?")
15
.argv;
16
@@ -28,8 +29,7 @@ npm run rebuild-frameworks --restartWith keyed/react
28
29
*/
30
const useCi = args.ci;
31
-const restartBuildingWith = args._.find((arg) => !arg.startsWith("--"));
32
-const restartWithFramework = restartBuildingWith || "";
+const restartWithFramework = args.restartWith;
33
34
console.log(
35
"ARGS",
0 commit comments