What is the recommended approach for a build that outputs all three files for deployment (js, min, map)

Jan 29, 2015 at 10:09 PM
What approach would you recommend for a library build that contains many individual js files that need to be combined to generate the final working library file.
  1. I would like to output that combined file as developer version.
  2. Minimize the developer version.
  3. Produce a map file for the minimized version.
I tried this with the current AjaxMin Manifest Task in Visual Studio and ran into following issue -

Manifest file with 2 output definitions but it seemed as if the 2nd output definition was looking for the input file prior to the first definition running.

Do I need to do a BundleTask and then follow with a ManifestTask?

Thanks
May 20, 2015 at 6:51 PM
I am using the XML manifest file to create my output file, and my arguments node looks like: -clobber -map:v3 app\script.min.js.map
But the map flag doesn't work for me with this configuration.

my min file is script.min.js (output node: <output path="app\script.min.js">) I also tried the MPATH with quotes in it but it didn't make a difference. Not sure if this is a bug or whether I'm configuring my flags incorrectly. Were you able to generate the map file successfully?