npm publish triggers npm run build, but that build is not published.
zzxoto opened this issue · comments
zzxoto commented
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