grunt-react-rcs

0.0.5 • Public • Published

grunt-react-rcs

A grunt task that compiles your RCS to css.

    npm install grunt-react-rcs --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

    grunt.loadNpmTasks('grunt-react-rcs');

uses?

The basic usage is generating CSS files next to your RCS files, this is mainly good to build with a tmp output structure.

rcs: {
    build: {
        files: [
            {expand: true, cwd: 'scripts/', src: ['**/*.rcs'], dest: 'build/'}
        ]
    }
}

You can also set your RCS rcs.settings.js file like this

rcs: {
    config: {
        settings: 'scripts/rcs.settings.js'
    },
 
    build: {
        files: [
            {expand: true, cwd: 'scripts/', src: ['**/*.rcs'], dest: 'build/'}
        ]
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-react-rcs

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • icodeforlove