noDevToolsWarning: fix (#1851)
This commit is contained in:
parent
940193c30b
commit
baa7d8c078
|
@ -26,8 +26,8 @@ export default definePlugin({
|
|||
patches: [{
|
||||
find: "setDevtoolsCallbacks",
|
||||
replacement: {
|
||||
match: /if\(.{0,10}\|\|"0.0.0"!==.{0,2}\.remoteApp\.getVersion\(\)\)/,
|
||||
replace: "if(false)"
|
||||
match: /if\(null!=\i&&"0.0.0"===\i\.remoteApp\.getVersion\(\)\)/,
|
||||
replace: "if(true)"
|
||||
}
|
||||
}]
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue