We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitejs
Learn more about funding links in repositories.
Report abuse
1 parent e8e1e62 commit 4fbf9a8Copy full SHA for 4fbf9a8
packages/vite/src/node/optimizer/index.ts
@@ -122,8 +122,8 @@ export interface DepOptimizationConfig {
122
/**
123
* Disables dependencies optimizations, true disables the optimizer during
124
* 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
+ * one of the modes. Deps optimization is enabled by default in dev only.
+ * @default 'build'
127
* @experimental
128
*/
129
disabled?: boolean | 'build' | 'dev'
0 commit comments