Skip to content

Commit 5d9f416

Browse files
authored
fix: include CommonJS resources in the npm package (#714)
The `package.json` file didn't declare a "files" attribute, so default files were included, but not the files in the lib folder (which includes CommonJS resources)
1 parent 2f7d138 commit 5d9f416

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
"bin": {
2929
"fxparser": "./src/cli/cli.js"
3030
},
31+
"files": [
32+
"lib",
33+
"src",
34+
"CHANGELOG.md"
35+
],
3136
"repository": {
3237
"type": "git",
3338
"url": "https://github.com/NaturalIntelligence/fast-xml-parser"

0 commit comments

Comments
 (0)