Open robcolburn opened 10 years ago
I know having a small core, and an army of grunt plugins to mix and match is fantastic, but let's consider adopting this one sometimes a little buggy module.
So maybe a simplistic site builds out something like:
module.exports = build: [ 'concurrent:assets' 'newer:uglify' 'compass' 'autoprefixer' ]
module.exports = assets: [ 'newer:imagemin' 'newer:svgmin' ]
But, then you start adding more tasks, and you go to something like
module.exports = build: [ 'concurrent:build1' 'concurrent:build2' 'autoprefixer' ]
module.exports = build1: [ 'newer:imagemin' 'newer:svgmin' 'newer:coffeeify' ] build2: [ 'compass' 'newer:uglify' ]
This is okay, but a little ugly, not so semantic. With concurrent in core, we could make things a bit prettier…
module.exports = build: [ [ 'newer:imagemin' 'newer:svgmin' 'newer:coffeeify' ] [ 'compass' 'newer:uglify' ] 'autoprefixer' ]
looks cool :+1:
I know having a small core, and an army of grunt plugins to mix and match is fantastic, but let's consider adopting this one sometimes a little buggy module.
So maybe a simplistic site builds out something like:
But, then you start adding more tasks, and you go to something like
This is okay, but a little ugly, not so semantic. With concurrent in core, we could make things a bit prettier…