Closed steelbrain closed 1 year ago
Modern NPM runs prepare script automatically after install and it's recommended to put your build logic in there
prepare
install
It also has the added benefit of being triggered before publish, making sure we don't ever publish stale builds.
See https://docs.npmjs.com/cli/v10/using-npm/scripts#life-cycle-scripts
Opened this in the wrong repository. Apologies. Not enough coffee :)
Modern NPM runs
prepare
script automatically afterinstall
and it's recommended to put your build logic in thereIt also has the added benefit of being triggered before publish, making sure we don't ever publish stale builds.
See https://docs.npmjs.com/cli/v10/using-npm/scripts#life-cycle-scripts