What is the best way to run a local Static Content build as close as possible to the CI build?

What is the best way to run a static content build as closely as the CI build from your local machine - minified code, etc...

Answers

  • What's your goal? Do you really want to minify your code in place (i.e. lose any updates you've made to the code) like the build does?
  • Can you minimize with your changes from a local build?