Skip to content

Commit 2ac527b

Browse files
committed
Add files whitelist to babelrc is not in npm package. Fixes preactjs/preact-compat#294
1 parent 019781e commit 2ac527b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"build": "babel -f $npm_package_main -m umd --module-id $npm_package_amdName -s -o $npm_package_main < src/index.js",
99
"release": "npm run -s build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
1010
},
11+
"files": [
12+
"src",
13+
"index.js",
14+
"index.js.map"
15+
],
1116
"repository": {
1217
"type": "git",
1318
"url": "https://github.com/developit/proptypes.git"

0 commit comments

Comments
 (0)