Skip to content

Commit 66394bd

Browse files
committed
feature: add .npmignore file to only include relevant files
This limits the published files to the relevant ones and reduces the module size.
1 parent f150de0 commit 66394bd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.npmignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**/*
2+
!index.d.ts
3+
!index.js
4+
!LICENSE
5+
!package.json
6+
!esm/*
7+
!CHANGELOG.md
8+
!readme.md
9+
!tsconfig.json

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## v2.2.0
44

5+
- Reduce module size by removing the test and benchmark files from the published package
56
- Accept `undefined` as `circularValue` option to remove circular properties from the serialized output:
67

78
```js

0 commit comments

Comments
 (0)