Skip to content
vxvx
GitHubBlueskydev.toRSS

pre and post scripts kept

prebuild and postbuild fold into build when vx init maps your scripts.

npm pre and post scripts folded into one task.

npm runs prebuild and postbuild around build without being asked. A migration that drops them changes what your build does.

vx init folds them into the task’s command in that order, and says so in its report.

// what it prints

package.json   prebuild: rimraf dist · build: tsc · postbuild: node scripts/copy.js
vx.config.ts   build: one command that runs prebuild, build, then postbuild
Turborepo, Nx and other product names are trademarks of their owners. vx is not affiliated with or endorsed by them.