Skip to content

Commit

Permalink
Don't include ES6 module versions in npm package
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CendioOssman committed Jan 17, 2024
1 parent d3aaf4d commit b35cf6d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b35cf6d

Please sign in to comment.