grunt-myth

Myth - Postprocessor that polyfills CSS

npm install grunt-myth
1 downloads in the last day
25 downloads in the last week
104 downloads in the last month

grunt-myth Build Status

Myth - Postprocessor that polyfills CSS

Issues with the output should be reported on the Myth issue tracker.

Getting Started

If you haven't used grunt before, be sure to check out the Getting Started guide, as it explains how to create a gruntfile as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:

$ npm install --save-dev grunt-myth

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

grunt.loadNpmTasks('grunt-myth');

Tip: the load-grunt-tasks module makes it easier to load multiple grunt tasks.

Example

grunt.initConfig({
    myth: {                                            // task
        options: {                                    // options
            sourcemap: true
        },
        dist: {                                        // target
            files: {                                // dictionary of files
                'dist/app.css': 'src/app.css'        // 'destination': 'source'
            }
        }
    }
});

grunt.loadNpmTasks('grunt-myth');
grunt.registerTask('default', ['myth']);

Options

sourcemap

Type: boolean
Default: false

Embed a Source Map.

License

MIT © Sindre Sorhus

npm loves you