Skip to content

Commit

Permalink
fixing dependency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pajtai committed Nov 28, 2012
1 parent 1bd28a8 commit d565f76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -8,7 +8,8 @@ block file names are run through the grunt templating engine.

Utilize build blocks in your html to indicate the files to be concatenated and minified. This task will parse the build
blocks by updating the `<script>` and `<style>` blocks in your html, and it will schedule the concatenation and
minification of the desired files by dynamically updating the `concat`, `min`, and `cssmin` (part of `css`) tasks.
minification of the desired files by dynamically updating the `concat`, `min`, and `cssmin` (part of `grunt-css` - this
auto included as a dependency for `grunt-useref`) tasks.

**This tasks modifies files, so it should be executed on a temp directory or the final build directory.**

Expand Down Expand Up @@ -132,6 +133,7 @@ directory inside the `node_modules` folder of your project.

## Change Log

* 0.0.7 - Nov 27, 2012 - fixed the css minification task so it does not have to be included in your grunt.js as a dependency
* 0.0.6 - Nov 26, 2012 - updated css minification task and its dependency

---
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "grunt-useref",
"title": "Grunt Useref",
"description": "Use build blocks to update the references in your html and perform file concatenation, minification, and cache busting.",
"version": "0.0.6",
"version": "0.0.7",
"homepage": "https://github.com/pajtai/grunt-useref",
"author": "Peter Ajtai (https://netlumination.com)",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion tasks/useref.js
Expand Up @@ -6,7 +6,7 @@
module.exports = function (grunt) {
'use strict';

grunt.loadNpmTasks("grunt-css");
grunt.loadNpmTasks("grunt-useref/node_modules/grunt-css");

// TODO: remove helpers
// TODO: check that `temp` is defined before proceeding
Expand Down

0 comments on commit d565f76

Please sign in to comment.