From d1145e5f639f897bf703d1ba79c580384c023f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Sun, 2 Jul 2023 18:12:07 +0200 Subject: [PATCH] perf: ignore test files in published package (reduce package size) --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a27f88..316aab8 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "main": "build/index.js", "types": "build/index.d.ts", "files": [ - "build" + "build", + "!**/*.test.js", + "!**/*.test.d.ts" ], "engines": { "node": ">=16.0.0",