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.
This commit is contained in:
Pierre Ossman 2024-01-17 16:19:16 +01:00
parent d3aaf4d5b3
commit b35cf6dd12
1 changed files with 1 additions and 3 deletions

View File

@ -14,9 +14,7 @@
"VERSION", "VERSION",
"docs/API.md", "docs/API.md",
"docs/LIBRARY.md", "docs/LIBRARY.md",
"docs/LICENSE*", "docs/LICENSE*"
"core",
"vendor/pako"
], ],
"scripts": { "scripts": {
"lint": "eslint app core po/po2js po/xgettext-html tests utils", "lint": "eslint app core po/po2js po/xgettext-html tests utils",