File tree 2 files changed +0
-20
lines changed
2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -810,19 +810,6 @@ export async function resolveConfig(
810
810
)
811
811
}
812
812
813
- if (
814
- config . server ?. force &&
815
- ! isBuild &&
816
- config . optimizeDeps ?. force === undefined
817
- ) {
818
- resolved . optimizeDeps . force = true
819
- logger . warn (
820
- colors . yellow (
821
- `server.force is deprecated, use optimizeDeps.force instead` ,
822
- ) ,
823
- )
824
- }
825
-
826
813
debug ?.( `using resolved config: %O` , {
827
814
...resolved ,
828
815
plugins : resolved . plugins . map ( ( p ) => p . name ) ,
Original file line number Diff line number Diff line change @@ -119,13 +119,6 @@ export interface ServerOptions extends CommonServerOptions {
119
119
sourcemapIgnoreList ?:
120
120
| false
121
121
| ( ( sourcePath : string , sourcemapPath : string ) => boolean )
122
- /**
123
- * Force dep pre-optimization regardless of whether deps have changed.
124
- *
125
- * @deprecated Use optimizeDeps.force instead, this option may be removed
126
- * in a future minor version without following semver
127
- */
128
- force ?: boolean
129
122
}
130
123
131
124
export interface ResolvedServerOptions extends ServerOptions {
You can’t perform that action at this time.
0 commit comments