Deprecated as the Styl project is no longer maintained.
Preprocess CSS with Styl
$ npm install --save-dev grunt-styl
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
grunt.initConfig({
styl: {
dist: {
options: {
use: [require('rework-npm')()]
},
files: {
'dist/main.css': 'app/main.styl'
}
}
}
});
grunt.registerTask('default', ['styl']);
Type: array
Type: boolean
Default: false
The Sass-style whitespace significant syntax supports nesting and parent selector references.
MIT © Sindre Sorhus