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/STFU.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/STFU.ts') diff --git a/src/plugins/STFU.ts b/src/plugins/STFU.ts index d154b4f..38b2064 100644 --- a/src/plugins/STFU.ts +++ b/src/plugins/STFU.ts @@ -7,7 +7,7 @@ export default definePlugin({ patches: [{ find: "setDevtoolsCallbacks", replacement: { - match: /\.default=function.+$/s, + match: /\.default=function.+$/, replace: ".default=function(){}}" } }] -- cgit