Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

sindresorhus/grunt-styl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

Deprecated as the Styl project is no longer maintained.


grunt-styl Build Status

Preprocess CSS with Styl

Install

$ npm install --save-dev grunt-styl

Usage

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']);

Options

use

Type: array

Rework plugins.

whitespace

Type: boolean
Default: false

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

License

MIT © Sindre Sorhus