Closed jchip closed 6 years ago
Hi, is there any reason that the build step, which typically should be done during npm publish, being done as a postinstall step? postinstall step is typically invoked by "npm install".
build
npm publish
postinstall
If you do build during npm publish, you should be able to avoid pulling in what typically are devDependencies like babel.
devDependencies
babel
This is causing unnecessary loads and extra dependencies for our apps.
Hi, is there any reason that the
build
step, which typically should be done duringnpm publish
, being done as apostinstall
step?postinstall
step is typically invoked by "npm install".If you do
build
duringnpm publish
, you should be able to avoid pulling in what typically aredevDependencies
likebabel
.This is causing unnecessary loads and extra dependencies for our apps.