File tree Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,6 @@ export class PartialEnvironment {
3131
3232 config : ResolvedConfig & ResolvedEnvironmentOptions
3333
34- /**
35- * @deprecated use environment.config instead
36- **/
37- get options ( ) : ResolvedEnvironmentOptions {
38- return this . _options
39- }
40-
4134 logger : Logger
4235
4336 /**
Original file line number Diff line number Diff line change @@ -85,12 +85,6 @@ export function devToScanEnvironment(
8585 getTopLevelConfig ( ) {
8686 return environment . getTopLevelConfig ( )
8787 } ,
88- /**
89- * @deprecated use environment.config instead
90- **/
91- get options ( ) {
92- return environment . options
93- } ,
9488 get config ( ) {
9589 return environment . config
9690 } ,
Original file line number Diff line number Diff line change @@ -53,11 +53,6 @@ export interface HotUpdateOptions {
5353 modules : Array < EnvironmentModuleNode >
5454 read : ( ) => string | Promise < string >
5555 server : ViteDevServer
56-
57- /**
58- * @deprecated use this.environment in the hotUpdate hook instead
59- **/
60- environment : DevEnvironment
6156}
6257
6358export interface HmrContext {
@@ -446,8 +441,6 @@ export async function handleHMRUpdate(
446441 const options = {
447442 ...contextMeta ,
448443 modules : [ ...mods ] ,
449- // later on hotUpdate will be called for each runtime with a new HotUpdateOptions
450- environment,
451444 }
452445 hotMap . set ( environment , { options } )
453446 }
You can’t perform that action at this time.
0 commit comments