I am working to implement Modernizr for the first time and I need help with questions about polyfill management.
I am trying to parse various instructions from H5BP and Modernizr tutorials regarding combining JS files onto one document, concatenating + minifying, and script loading via Modernizr.
1) Is it still useful or needed to combine scripts into one file if they are being loaded by Modernizr?
2) Would putting all of the files into one document cause Modernizer to load all of the scripts every time, just to get to the one needed?
Something like(?) or onlyCode HTML4Strict:js/plugins.js/polyfill-1.jsand they are all loaded (?)Code HTML4Strict:js/plugins.js
5) Is it better to just keep related JS files in a folder and let Modernizr load them separately? Is there any loss of loading speed that way?
7) If I do keep each JS file separate for development, and then concatenate them for launch, do I then need to change the Modernizr.load script?