From 1d58a572960d1a194f7983ba8ea6017cf84abe37 Mon Sep 17 00:00:00 2001 From: Bryan Lee Date: Fri, 11 Aug 2023 01:53:12 +0800 Subject: [PATCH] fix: mark svelte as external dependency --- rollup.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rollup.config.js b/rollup.config.js index 34e9bf8..08da12b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -7,6 +7,7 @@ const { declaration, declarationDir, ...compilerOptions } = tsconfig.compilerOptions; export default { + external: ['svelte'], input: 'src/index.ts', output: [ { format: 'cjs', file: pkg.main },