Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Bundled script is not working

$
0
0

I am using d3.js which is a plugin to display Graph digrams. In BundleConfig.cs I am registering the script to bundle as below. With debug=true it doesn't bundle the js and dashboard (screen where I am displaying the graph) works fine. But once debug made false then the Graph doesn't load. When I see in the F12 developer tools I can see the bundled script loaded but it's not loading the graph. Can someone suggest if I am missing something.

bundles.Add(new ScriptBundle("~/bundles/dashboard").Include(
"~/Scripts/d31.js"
));


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>