Skip to content

Commit

Permalink
docs: update default for optimizeDeps.disabled (#9078)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS authored Jul 13, 2022
1 parent e8e1e62 commit 4fbf9a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/optimizer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export interface DepOptimizationConfig {
/**
* Disables dependencies optimizations, true disables the optimizer during
* build and dev. Pass 'build' or 'dev' to only disable the optimizer in
* one of the modes. Deps optimization is enabled by default in both
* @default false
* one of the modes. Deps optimization is enabled by default in dev only.
* @default 'build'
* @experimental
*/
disabled?: boolean | 'build' | 'dev'
Expand Down

0 comments on commit 4fbf9a8

Please sign in to comment.