Skip to content

Commit 75c1ad6

Browse files
committed
wip: change flag to --full-bundle
1 parent 4ec1800 commit 75c1ad6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/vite/src/node/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ interface GlobalCLIOptions {
3535
}
3636

3737
interface ExperimentalDevOptions {
38-
fullBundleMode?: boolean
38+
fullBundle?: boolean
3939
}
4040

4141
interface BuilderCLIOptions {
@@ -180,7 +180,7 @@ cli
180180
'--force',
181181
`[boolean] force the optimizer to ignore the cache and re-bundle`,
182182
)
183-
.option('--fullBundleMode', `[boolean] use experimental full bundle mode`)
183+
.option('--fullBundle', `[boolean] use experimental full bundle mode`)
184184
.action(
185185
async (
186186
root: string,
@@ -202,7 +202,7 @@ cli
202202
server: cleanGlobalCLIOptions(options),
203203
forceOptimizeDeps: options.force,
204204
experimental: {
205-
fullBundleMode: options.fullBundleMode,
205+
fullBundleMode: options.fullBundle,
206206
},
207207
})
208208

0 commit comments

Comments
 (0)