I declared a script and its dependencies in the ResourceManisfest.cs of my module:
And did the same for the jQuery plugin in the ResourceManisfest.cs of the jQuery module:
I wanted to use my HandleHtmlResponse script in my page so I added at the top of my cshtml page:
I thought it would automatically add everything needed (dependencies) to use this script but in the build page the following line doesn't appear:
Is 'SetDependencies' not here for that? How can I get all dependencies appear in the build page without having to write all the Script.Require needed? I would like to write only Script.Require("HandleHtmlResponse") which would do the work for me.
Thanks for helping