Skip to content

Commit

Permalink
perf: trim unused svelte options (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed May 14, 2022
1 parent 0a45a5c commit 149cfa9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rollup.config.js
Expand Up @@ -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
}),
Expand Down

0 comments on commit 149cfa9

Please sign in to comment.