Skip to content

Commit e46a321

Browse files
authored
Update README.md
[ci skip]
1 parent 62dcab7 commit e46a321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ ENOENT: no such file or directory, chmod '[…]/lib/index.js'
272272

273273
This happens because npm needs to symlink any files referenced in the `bin`
274274
field and make them executable, but this step is performed before `postinstall`.
275-
`postinstall-build` can’t do anything to address this shortcoming, but the
276-
solution is simple. Create a simple non-built file (that is, not created during
275+
`postinstall-build` can’t do anything to address this shortcoming, but there is
276+
an easy workaround. Create a simple non-built file (that is, not created during
277277
the build step) that imports the built file you actually want to target. For
278278
example, you could create a top-level file called `cli.js` like so:
279279

0 commit comments

Comments
 (0)