I've encountered a situation in my startup.cs file where I'm implementing the following code snippet
services.AddWebOptimizer(pipeline =>
{
// bundle .js files
pipeline.AddJavaScriptBundle("/bundle.js", // creating a bundle file in memory
"/assets/js/jquery-1.12.4.min.js",
//"/assets/js/bootstrap-4.3.1.min.js",
"/assets/js/crypto-js.4.0.0.min.js",
"/assets/js/gijgo.min.js", // causing draggable errors when removed
"/assets/js/plugins.js",
//"/assets/js/jquery.slicknav.js", // responsible for breaking the footer
//"/assets/js/slick.js",
//"/assets/js/main.js",
"/js/siriwave.umd.js",
"/js/dat.gui.js",
"/js/speech-bundle.js",
"/js/pageLoad.js",
"/assets/js/html2canvas.min.js");
// bundle .css files
pipeline.AddCssBundle("/bundle.css",
//"/assets/css/bootstrap-4.3.1.min.css", // causes css issues when bundled
"/assets/css/slicknav.min.css",
"/assets/css/flaticon.min.css",
"/assets/css/animate.min.css",
I am now looking to enable source maps so that debugging is possible in production or staging environments. Can anyone guide me on how to achieve this? Unfortunately, there seems to be no mention of this feature in the official documentation.