The Bazaar: Build System Blues

  • “scripts”: { “build”: “NODE_PATH=$NODE_PATH:src NODE_ENV=$npm_package_config_env babel src -s -d build –copy-files –color=always”, “build:all”: “npm run parallel — ‘npm run build’ ‘npm run commons — build'”, “build:prod”: “npm run build –my-package:env=production”, “build:watch”: “npm run build — -w”, },
  • It will run my main build and my commons build concurrently, and fail the command if either build fails.
  • With the approach, as your build grows you can use a variety of different tools and techniques without too much effort adapting to each, because your build process is modular and generic.

Read the full article, click here.


@bkonkle: “The next post in my Bazaar series about rolling your own architecture => Build System Blues -> #reactjs #javascript”


As our tools become more capable & complex, the build process has grown into a primary part of our development workflow – an often tangled & confusing part.


The Bazaar: Build System Blues