UNPKG

grunt-closure-coffee-stack

Version:

Everything you need for Google Closure. Precise configuration, Soy templates, localization, TDD stack, and even CoffeeScript support. File watcher included.

16 lines (14 loc) 355 B
'use strict'; module.exports = function(grunt) { var sprite = require('node-sprites'); grunt.registerMultiTask('sprites', 'Generate sprite images', function() { var done = this.async(); var files = this.data.files sprite.sprites({ path : files.src, dest : files.dest }, function(err, res) { done() }); }); };