Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 549 Bytes

README.md

File metadata and controls

29 lines (26 loc) · 549 Bytes

About

newer-stylus-grunt is a set of helpers which enables STYLUS compilation when using grunt-newer.

Install

npm install newer-stylus-grunt

Usage:

var newerStylusGrunt = require('newer-stylus-grunt');
// Optional
newerStylusGrunt.setGlobalInclude({
	'src/styles/common.styl': [
		'home.styl',
	],
});
module.exports = function(grunt) {
    grunt.initConfig({
        newer: {
            options: {
                override: newerStylusGrunt,
            }
        },
        //Anything else
    });
};