grunt-css-urls

Grunt task to make css urls relative to a main css file with @import rules

grunt-css-urls

Grunt task to make css urls relative to a main css file with @import rules.

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-css-urls

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-css-urls');

TODO

  • src(required): The file location of the css with the @import rules.
grunt.initConfig({
  cssUrls: {
    src:  "dist/main.css"
  }
});

Copyright (c) 2012 Juan Pablo Garcia & Ideame Dev Team Licensed under the MIT license.