From b207405a1e45b274fc425afb0a3f7eead3ddd6c3 Mon Sep 17 00:00:00 2001 From: Ryan Gossiaux Date: Sun, 26 Dec 2021 17:41:58 -0800 Subject: [PATCH] Exclude test files from packaging --- svelte.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/svelte.config.js b/svelte.config.js index d2f2ba4..1ed1185 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -16,6 +16,9 @@ const config = { package: { exports: (filepath) => { return filepath.endsWith("index.js"); + }, + files: (filepath) => { + return !filepath.endsWith(".test.ts"); } },