Fix settings patch
This commit is contained in:
parent
5b2b91ed0d
commit
b1d3f5e52f
2 changed files with 6 additions and 7 deletions
|
|
@ -16,7 +16,7 @@ export default definePlugin({
|
|||
}
|
||||
},
|
||||
{
|
||||
match: /\w\.createElement.+?["']Host ["'].+?\):null/,
|
||||
match: /\w\.createElement.+?["']Host ["'].+?\):null/s,
|
||||
replace: m => {
|
||||
const idx = m.indexOf("Host") - 1;
|
||||
const template = m.slice(0, idx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue