From 9bf28c0e7adc47173963875d526ced713efea171 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Thu, 15 Sep 2022 18:17:52 +0200 Subject: Remove newlines in webpack chunks --- src/plugins/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/settings.ts') diff --git a/src/plugins/settings.ts b/src/plugins/settings.ts index fe125e7..63c36d6 100644 --- a/src/plugins/settings.ts +++ b/src/plugins/settings.ts @@ -16,7 +16,7 @@ export default definePlugin({ } }, { - match: /\w\.createElement.+?["']Host ["'].+?\):null/s, + match: /\w\.createElement.+?["']Host ["'].+?\):null/, replace: m => { const idx = m.indexOf("Host") - 1; const template = m.slice(0, idx); -- cgit