newer-stylus-grunt

1.0.6 • Public • Published

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

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i newer-stylus-grunt

    Weekly Downloads

    2

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    9.19 kB

    Total Files

    10

    Last publish

    Collaborators

    • hoangrio