From b44cf42cdc3db797045a8a4df10dddbb2d8831ac Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 15 Sep 2020 15:59:52 -0700 Subject: [PATCH] Exclude tests from NPM package This reduces the unpacked size from 74,890,691 bytes to 19,420 bytes. Signed-off-by: Anders Kaseorg --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 5135c13..fee1053 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "A WebPack loader to automaticaly generate font files and CSS to make your own icon font", "repository": "jeerbl/webfonts-loader", "main": "index.js", + "files": [ + "*.js" + ], "scripts": { "test": "semistandard && ./runTest.sh && ./runTestEmbed.sh", "postinstall": "github-sponsors",