Generating source maps for multiple concatenated javascript files compiled from Coffeescript

前端 未结 4 1396
逝去的感伤
逝去的感伤 2020-12-14 03:21

Has any one had any success with this?

4条回答
  •  庸人自扰
    2020-12-14 03:46

    I ended up going with browserify using coffeeify as the transform option, and enabling browserify's debug option. I bundle up the app on each request for my main.js file, and any runtime errors show up in my original source with pretty decent accuracy.

    Sure beats mapping runtime errors in the concatenated/compiled js back to the coffee source with my eyeballs!

提交回复
热议问题