aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--grunt.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/grunt.js b/grunt.js
index 223225a8d..ee1e8397f 100644
--- a/grunt.js
+++ b/grunt.js
@@ -23,7 +23,7 @@ function createBanner( files ) {
// a working grunt.loadNpmTasks replacement
// gets us csslint and cssmin tasks
-require('grunt-css')(grunt);
+grunt.loadNpmTasks('grunt-css');
// allow access from banner template
global.stripDirectory = stripDirectory;