From d8d0b262558b7fefa0c9a09c56bca9f5e4541443 Mon Sep 17 00:00:00 2001 From: Dominic Kempf Date: Tue, 24 Sep 2024 08:58:46 +0200 Subject: [PATCH] Restore shadow DOM --- rollup.config.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 7bbec67..58f6473 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -24,13 +24,9 @@ export default { customElement: true } }), - replace({ - values: { - "this.attachShadow({ mode: 'open' });": "" - }, - delimiters: ['', ''] + postcss({ + extract: "bundle.css" }), - postcss(), resolve({ browser: true, dedupe: ['svelte', 'flowbite-svelte']