Skip to content

Commit

Permalink
fix: only include built files in the package
Browse files Browse the repository at this point in the history
  • Loading branch information
duniul committed Sep 4, 2020
1 parent 3b0cdc9 commit ca9d7cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
],
"main": "lib/cjs/index.js",
"module": "lib/es/index.js",
"files": [
"lib/**"
],
"scripts": {
"build": "rimraf lib && yarn build:es && yarn build:cjs",
"build:es": "tsc --outDir lib/es --module es6",
Expand Down

0 comments on commit ca9d7cc

Please sign in to comment.