Skip to content

Commit

Permalink
Merge pull request #11 from sladex/patch-1
Browse files Browse the repository at this point in the history
error in the example
  • Loading branch information
i-akhmadullin committed Dec 29, 2014
2 parents 6dffc10 + 38cff11 commit 32ffca3
Showing 1 changed file with 29 additions and 26 deletions.
55 changes: 29 additions & 26 deletions README.md
Expand Up @@ -17,38 +17,41 @@ Add styletto task in `grunt.js` file like this:
styletto: {
all: {
// optional params, @see for syntax and default settings https://github.com/jetstyle/styletto/blob/master/README.md
options: {
compress: "csso",
base64: 1500,
// same but with more control
//base64: {
// limit: 1500,
// types: {
// 'jpeg': 'image/jpeg'
// }
//},
stylus: {
variables: { "ie": true },
imports: [ 'mixin1.styl', 'mixin2.styl' ]
},
less: {
variables: { "bg-color": "red" },
imports: [ 'lesshat.less' ]
},
errors: "alert",
// same but with more control
// errors: {
// imports: 'alert',
// resources: 'alert',
// processors: 'alert'
// },
path: "../"
}
// path to input file or array of paths
src: "blocks/style.css",
// path to result file
dest: "blocks/__style.css",
// optional params, @see for syntax and default settings https://github.com/jetstyle/styletto/blob/master/README.md
compress: "csso",
base64: 1500,
// same but with more control
//base64: {
// limit: 1500,
// types: {
// 'jpeg': 'image/jpeg'
// }
//},
stylus: {
variables: { "ie": true },
imports: [ 'mixin1.styl', 'mixin2.styl' ]
},
less: {
variables: { "bg-color": "red" },
imports: [ 'lesshat.less' ]
},
errors: "alert",
// same but with more control
// errors: {
// imports: 'alert',
// resources: 'alert',
// processors: 'alert'
// },
path: "../"
}
},
```
Expand Down

0 comments on commit 32ffca3

Please sign in to comment.