fix NoDevtoolsWarning for web
This commit is contained in:
		
							parent
							
								
									3a9f692644
								
							
						
					
					
						commit
						a6551957e7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -8,8 +8,8 @@ export default definePlugin({ | |||
|     patches: [{ | ||||
|         find: "setDevtoolsCallbacks", | ||||
|         replacement: { | ||||
|             match: /\.setDevtoolsCallbacks\(.+?else/, | ||||
|             replace: ".setDevtoolsCallbacks(null,null);else" | ||||
|             match: /if\(.{0,10}\|\|"0.0.0"!==.{0,2}\.remoteApp\.getVersion\(\)\)/, | ||||
|             replace: "if(false)" | ||||
|         } | ||||
|     }] | ||||
| }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue