We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6147e76 commit 9133296Copy full SHA for 9133296
app/templates/Gruntfile.js
@@ -658,6 +658,13 @@ module.exports = function (grunt) {
658
filePath = filePath.replace('/.tmp/', '');
659
return '<script src="' + filePath + '"></script>';
660
},
661
+ sort: function(a, b) {
662
+ var module = /\.module\.js$/;
663
+ var aMod = module.test(a);
664
+ var bMod = module.test(b);
665
+ // inject *.module.js first
666
+ return (aMod === bMod) ? 0 : (aMod ? -1 : 1);
667
+ },
668
starttag: '<!-- injector:js -->',
669
endtag: '<!-- endinjector -->'
670
0 commit comments