From b35cf6dd1253142267f68f052986d0560f7a495c Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 17 Jan 2024 16:19:16 +0100 Subject: [PATCH] Don't include ES6 module versions in npm package The npm package is supposed to be for CommonJS usage, so only package that to avoid confusion. This has become an issue now that nodejs supports ES6 modules, where users are accidentally trying to import the wrong files and get errors. --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 740f0d21e..482b86eb3 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,7 @@ "VERSION", "docs/API.md", "docs/LIBRARY.md", - "docs/LICENSE*", - "core", - "vendor/pako" + "docs/LICENSE*" ], "scripts": { "lint": "eslint app core po/po2js po/xgettext-html tests utils",