From e5a4b77cf2266529a4bd2c7e41f576ceadee518f Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 17 Apr 2022 17:29:13 -0700 Subject: [PATCH] perf: trim unused svelte options --- rollup.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 4365804d..0dabb849 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 }),