Permalink
Browse files

added in styles task documentation

  • Loading branch information...
tbranyen committed Sep 12, 2012
1 parent 53cb385 commit 835447e899d09cecdb66032a101a4031f2e3235a
Showing with 23 additions and 0 deletions.
  1. +23 −0 readme.md
View
@@ -142,6 +142,29 @@ build, since files are not minified.
This command will serve the same was debug except mapping to `dist/release`
instead. This setup is how your application should be deployed.
+#### `styles` (bbb) ####
+
+Parses a valid CSS file for `@imports` and concatenates them into an output
+file. Will automatically build stylus files as it encounters them.
+
+Sample configuration:
+
+``` javascript
+styles: {
+ // Output stylesheet file.
+ "dist/debug/index.css": {
+ // Main CSS source file, containing the @imports.
+ src: "assets/css/index.css",
+
+ // Relative path for `@imports`.
+ paths: ["assets/css"],
+
+ // Add additional stylesheets.
+ additional: ["assets/css/production-fixes.css"]
+ }
+},
+```
+
## License
Copyright (c) 2012 Tim Branyen (@tbranyen)
Licensed under the MIT license.

0 comments on commit 835447e

Please sign in to comment.