Skip to content

abpvn/newer-stylus-grunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    });
};