From 149cfa94598fd6d21398bbfe9e3ef27d7cf42a38 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 14 May 2022 15:01:18 -0700 Subject: [PATCH] perf: trim unused svelte options (#280) --- rollup.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 4365804..0dabb84 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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 }),