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.
nitro build --builder
1 parent 5ec65f3 commit 07b725fCopy full SHA for 07b725f
src/cli/commands/build.ts
@@ -27,6 +27,11 @@ export default defineCommand({
27
description:
28
"The build preset to use (you can also use `NITRO_PRESET` environment variable).",
29
},
30
+ builder: {
31
+ type: "string",
32
+ description:
33
+ "The builder to use (you can also use `NITRO_BUILDER` environment variable).",
34
+ },
35
compatibilityDate: {
36
type: "string",
37
@@ -41,6 +46,7 @@ export default defineCommand({
41
46
dev: false,
42
47
minify: args.minify,
43
48
preset: args.preset,
49
+ builder: args.builder as "rollup" | "rolldown" | "vite",
44
50
45
51
{
52
compatibilityDate: args.compatibilityDate as DateString,
0 commit comments