wiredep.js 393 B

1234567891011
  1. 'use strict';
  2. function wiredep(grunt) {
  3. grunt.registerMultiTask('wiredep', 'Inject Bower components into your source code.', function () {
  4. this.requiresConfig(['wiredep', this.target, 'src']);
  5. // Extend the options object with the entire data object (instead of just .src) for backward compatibility.
  6. require('wiredep')(this.options(this.data));
  7. });
  8. }
  9. module.exports = wiredep;