Skip to content

Commit b2ce025

Browse files
authored
docs: suggest correct bin entry (#7518)
Our existing example present in npm doc was giving warning, so just modified that so that we will not get any warning . Closes: #7302
1 parent b54cdb8 commit b2ce025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/lib/content/configuring-npm/package-json.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ For example, myapp could have this:
368368
```json
369369
{
370370
"bin": {
371-
"myapp": "./cli.js"
371+
"myapp": "bin/cli.js"
372372
}
373373
}
374374
```

0 commit comments

Comments
 (0)