The purpose of this mini-package is to provide a set of generic createConfig
templates that can be used to quickly create new grunt-usemin
flow steps.
var customStepJS = {
'name': 'GRUNT-TASK-NAME',
'createConfig': require('usemin-generic-steps').independentFlow
};
grunt.initConfig({
useminPrepare: {
options: {
flow: {
html: {
steps: {
js: [customStepJS, 'uglifyjs']
}}}}}});