Skip to content

Instantly share code, notes, and snippets.

@eckdanny
Created August 13, 2014 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eckdanny/b17c9565d7d73f22665a to your computer and use it in GitHub Desktop.
Save eckdanny/b17c9565d7d73f22665a to your computer and use it in GitHub Desktop.
diff --git a/Gruntfile.js b/Gruntfile.js
index dc80c05..7228c67 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -10,7 +10,10 @@
module.exports = function (grunt) {
// Load grunt tasks automatically
- require('load-grunt-tasks')(grunt);
+ require('jit-grunt')(grunt, {
+ useminPrepare: 'grunt-usemin',
+ cdnify: 'grunt-google-cdn'
+ });
// Time how long tasks take. Can help when optimizing build times
require('time-grunt')(grunt);
diff --git a/package.json b/package.json
index 9c566bd..c67487c 100644
--- a/package.json
+++ b/package.json
@@ -24,8 +24,8 @@
"grunt-svgmin": "^0.4.0",
"grunt-usemin": "^2.1.1",
"grunt-wiredep": "^1.7.0",
+ "jit-grunt": "^0.8.0",
"jshint-stylish": "^0.2.0",
- "load-grunt-tasks": "^0.4.0",
"time-grunt": "^0.3.1"
},
"engines": {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment