File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed
Expand file tree Collapse file tree 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(
810810 )
811811 }
812812
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-
826813 debug ?.( `using resolved config: %O` , {
827814 ...resolved ,
828815 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 {
119119 sourcemapIgnoreList ?:
120120 | false
121121 | ( ( 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
129122}
130123
131124export interface ResolvedServerOptions extends ServerOptions {
You can’t perform that action at this time.
0 commit comments