perf: trim unused svelte options (#280)

This commit is contained in:
Nolan Lawson 2022-05-14 15:01:18 -07:00 committed by GitHub
parent 0a45a5c71e
commit 149cfa9459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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
}),