grunt-styl

Preprocess CSS with Styl

grunt-styl

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

Rework plugins.

Type: boolean
Default: false

The Sass-style whitespace significant syntax supports nesting and parent selector references.

MIT © Sindre Sorhus