mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 10:27:03 -04:00
Remove newlines in webpack chunks
This commit is contained in:
parent
b1d3f5e52f
commit
9bf28c0e7a
3 changed files with 11 additions and 8 deletions
|
@ -7,7 +7,7 @@ export default definePlugin({
|
|||
patches: [{
|
||||
find: "setDevtoolsCallbacks",
|
||||
replacement: {
|
||||
match: /\.default=function.+$/s,
|
||||
match: /\.default=function.+$/,
|
||||
replace: ".default=function(){}}"
|
||||
}
|
||||
}]
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue