Skip to content

Commit 1c41a8f

Browse files
committed
Publish only build artifacts
This a bit reduce amount of published files and final package size.
1 parent 8d8b931 commit 1c41a8f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.npmignore

Whitespace-only changes.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
},
1111
"main": "lib/index.js",
1212
"module": "esm/index.js",
13+
"files": [
14+
"lib",
15+
"esm"
16+
],
1317
"scripts": {
1418
"build": "babel src --out-dir lib && NODE_ENV=esm babel src --out-dir esm",
1519
"prepublish": "npm run build",

0 commit comments

Comments
 (0)