Skip to content

Commit 8ce6d34

Browse files
changes in config to reduce the size of the sdk
1 parent 3747ddb commit 8ce6d34

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Thumbs.db
3030
.github/
3131
.gitlab-ci.yml
3232

33+
# Source maps (not needed in published package)
34+
**/*.js.map
35+
**/*.d.ts.map
36+
3337
# Examples (optional, uncomment if you have examples you don't want to publish)
3438
# examples/
3539
# docs/

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"files": [
8-
"dist/**/*"
8+
"dist/**/*.js",
9+
"dist/**/*.d.ts"
910
],
1011
"scripts": {
1112
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)