Skip to content

Commit

Permalink
Fix files configuration entry in package.json for @wordpress/babel-pr…
Browse files Browse the repository at this point in the history
…eset-default (#7933)

* Fix files configuration

The package doesn’t have `build` and `build-module` directories so the published entrypoint should be `index.js`.

* Packages: babel-preset-default: Apply npm formatting for files array
  • Loading branch information
nerrad authored and gziolo committed Jul 13, 2018
1 parent db0b772 commit e4ac2f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/babel-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"node": ">=8"
},
"files": [
"build",
"build-module"
"index.js"
],
"dependencies": {
"@babel/plugin-proposal-async-generator-functions": "^7.0.0-beta.52",
Expand Down

0 comments on commit e4ac2f4

Please sign in to comment.