Created
February 23, 2015 19:36
-
-
Save NickHeiner/9b86f1056a6980347c95 to your computer and use it in GitHub Desktop.
A better way to load deps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports = function(grunt) { | |
grunt.registerTask('my-task', function myTaskFn() { | |
// This code only gets run when your task executes, | |
// so you can do work here and not worry about | |
// slowing everyone else down. | |
var bigDep = require('big-dependency'); | |
bigDep(); | |
}); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment