nwb icon indicating copy to clipboard operation
nwb copied to clipboard

npm publish triggers npm run build, but that build is not published.

Open zzxoto opened this issue 5 years ago • 0 comments

I see that npm publish also does npm run build courtesy to following script in package.json file "prepublishOnly": "npm run build"

But here is the deal, if I had not explicitly npm run build before npm publish, then the build would not get published to npm.

So, either the "prepublishOnly": "npm run build" script is meaningless, or this the bug that has been overlooked.

nwb 0.23.0 npm 4.6.0 node 10.16.0 window 10 x64

zzxoto avatar Jun 26 '19 06:06 zzxoto