File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -267,10 +267,10 @@ my knowledge they are no fault of this package and are widely reported npm bugs.
267267When npm installs from a Git repository or any other non-package location, it
268268will first prepare the directory as if it were publishing a package. This
269269includes 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
275275This is not ideal, but it’s how npm works. If you are determined to exclude
276276unnecessary source and configuration files from the published npm package,
You can’t perform that action at this time.
0 commit comments