Skip to content

Commit 1507068

Browse files
authored
docs: add jsdocs to flags in BuilderOptions (#18516)
1 parent 052799e commit 1507068

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/vite/src/node/build.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,19 @@ export interface ViteBuilder {
14631463
}
14641464

14651465
export interface BuilderOptions {
1466+
/**
1467+
* Whether to share the config instance among environments to align with the behavior of dev server.
1468+
*
1469+
* @default false
1470+
* @experimental
1471+
*/
14661472
sharedConfigBuild?: boolean
1473+
/**
1474+
* Whether to share the plugin instances among environments to align with the behavior of dev server.
1475+
*
1476+
* @default false
1477+
* @experimental
1478+
*/
14671479
sharedPlugins?: boolean
14681480
buildApp?: (builder: ViteBuilder) => Promise<void>
14691481
}

0 commit comments

Comments
 (0)