Remove newlines in webpack chunks
This commit is contained in:
parent
b1d3f5e52f
commit
9bf28c0e7a
3 changed files with 11 additions and 8 deletions
|
|
@ -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