I think it could be a good thing to generate a library-preload.js like in grunt-openui5 https://github.com/SAP/grunt-openui5/pull/47