perf: trim unused svelte options (#280)
This commit is contained in:
parent
0a45a5c71e
commit
149cfa9459
|
@ -49,7 +49,11 @@ const baseConfig = {
|
|||
}),
|
||||
// make the svelte output slightly smaller
|
||||
replace({
|
||||
'options.hydrate': 'false',
|
||||
'options.anchor': 'undefined',
|
||||
'options.context': 'undefined',
|
||||
'options.customElement': 'undefined',
|
||||
'options.hydrate': 'undefined',
|
||||
'options.intro': 'undefined',
|
||||
delimiters: ['', ''],
|
||||
preventAssignment: true
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue