Skip to content

Commit 7f21910

Browse files
committed
wip: change flag to --full-bundle
1 parent 7f89fa4 commit 7f21910

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
@@ -54,7 +54,7 @@ interface GlobalCLIOptions {
5454
}
5555

5656
interface ExperimentalDevOptions {
57-
fullBundleMode?: boolean
57+
fullBundle?: boolean
5858
}
5959

6060
interface BuilderCLIOptions {
@@ -199,7 +199,7 @@ cli
199199
'--force',
200200
`[boolean] force the optimizer to ignore the cache and re-bundle`,
201201
)
202-
.option('--fullBundleMode', `[boolean] use experimental full bundle mode`)
202+
.option('--fullBundle', `[boolean] use experimental full bundle mode`)
203203
.action(
204204
async (
205205
root: string,
@@ -221,7 +221,7 @@ cli
221221
server: cleanGlobalCLIOptions(options),
222222
forceOptimizeDeps: options.force,
223223
experimental: {
224-
fullBundleMode: options.fullBundleMode,
224+
fullBundleMode: options.fullBundle,
225225
},
226226
})
227227

0 commit comments

Comments
 (0)