Skip to content

Commit b35cf6d

Browse files
committed
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.
1 parent d3aaf4d commit b35cf6d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
"VERSION",
1515
"docs/API.md",
1616
"docs/LIBRARY.md",
17-
"docs/LICENSE*",
18-
"core",
19-
"vendor/pako"
17+
"docs/LICENSE*"
2018
],
2119
"scripts": {
2220
"lint": "eslint app core po/po2js po/xgettext-html tests utils",

0 commit comments

Comments
 (0)