Search code examples
javascriptgoogle-chrome-devtoolsbundling-and-minification

Why are my JavaScript files only showing in bundles in Chrome Developer Tools?


I am running two projects using very similar bases. They are both bundling the same JS files, but when I am debugging one it show the Source of the JS files in source in Chrome Developer tools, but the other only shows the bundled files. Any ideas why this might be?

Scripts:

Scripts load

Bundles:

Only Bundles load


Solution

  • Figured it out: at the bottom of the BundleConfig we had mandated:

    BundleTable.EnableOptimizations = true;

    Removed this and can view source now.