`this.files` being populated in a `bad` order
Author: diosneyCreated May 22, 2015Updated Aug 12, 2026
LabelsType: Enhancement
Right now this.files is being populated as:
'src/applications/hr/admin/organization/settings/settings.js',
'src/applications/hr/admin/organization/settings/settings-controller.js',
'src/applications/hr/hr.js',
'src/applications/hr/hr-services.js'and should be like:
'src/applications/hr/hr.js',
'src/applications/hr/hr-services.js'
'src/applications/hr/admin/organization/settings/settings.js',
'src/applications/hr/admin/organization/settings/settings-controller.js',This seems to be a minor issue, but when used with plugins like grunt-contrib-concat lead to wrong concatenated files, since the code execution order is mangled.
Source: gruntjs/grunt