Skip to content

Commit 4fbf9a8

Browse files
authoredJul 13, 2022
docs: update default for optimizeDeps.disabled (#9078)
1 parent e8e1e62 commit 4fbf9a8

File tree

1 file changed

+2
-2
lines changed
  • packages/vite/src/node/optimizer

1 file changed

+2
-2
lines changed
 

‎packages/vite/src/node/optimizer/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export interface DepOptimizationConfig {
122122
/**
123123
* Disables dependencies optimizations, true disables the optimizer during
124124
* build and dev. Pass 'build' or 'dev' to only disable the optimizer in
125-
* one of the modes. Deps optimization is enabled by default in both
126-
* @default false
125+
* one of the modes. Deps optimization is enabled by default in dev only.
126+
* @default 'build'
127127
* @experimental
128128
*/
129129
disabled?: boolean | 'build' | 'dev'

0 commit comments

Comments
 (0)
Please sign in to comment.