Skip to content

Commit b427bb6

Browse files
authored
Update README.md
[ci skip]
1 parent f0c85a3 commit b427bb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ my knowledge they are no fault of this package and are widely reported npm bugs.
267267
When npm installs from a Git repository or any other non-package location, it
268268
will first prepare the directory as if it were publishing a package. This
269269
includes respecting the `.npmignore` file and `files` field in `package.json`,
270-
which means that `postinstall` scripts are executed with a subset of the files
271-
you may need to run your build step (if you have `.npmignore` or `files`
272-
configured). Thus, in order for `postinstall-build` to work, you should **not**
273-
ignore the source files or any necessary configuration (for example, `.babelrc`).
270+
which means that `postinstall` scripts may be executed with a subset of the
271+
files you may need to run your build step. Thus, in order for `postinstall-build`
272+
to work, you should **not** ignore the source files or any necessary
273+
configuration (for example, `.babelrc`).
274274

275275
This is not ideal, but it’s how npm works. If you are determined to exclude
276276
unnecessary source and configuration files from the published npm package,

0 commit comments

Comments
 (0)