node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

grunt-myth

grunt-myth Build Status

Myth - Postprocessor that polyfills CSS

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

Install

$ npm install --save-dev grunt-myth

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks 
 
grunt.initConfig({
    myth: {
        options: {
            sourcemap: true
        },
        dist: {
            files: {
                'dist/app.css': 'src/app.css'
            }
        }
    }
});
 
grunt.registerTask('default', ['myth']);

Options

sourcemap

Type: boolean
Default: false

Embed a Source Map.

features

Type: object
Default: {}

Disable specific Myth features.

License

MIT © Sindre Sorhus