Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

grunt-usemin-patterns

bevacqua24MIT0.0.1

Patterns for grunt-usemin

readme

grunt-usemin-patterns

Pattern helper for the grunt-usemin module.

Setup

npm i --save-dev grunt-usemin-patterns
grunt.initConfig({
    usemin: {
        html: 'bin/{public,views}/**/*.html',
        css: 'bin/public/**/*.css',
        options: {
            dirs: ['bin'],
            patterns: require('grunt-usemin-patterns').prefixIgnore('http://bevacqua.io/')
        }
    }
});

API

.defaults

Uses the defaults that come with grunt-usemin @ v2.0.0

.prefixIgnore(text)

The v2.0.0 defaults plus the ability to ignore prefixes. If you pass a base domain, the result will be that these files will be revved, with the base domain untouched.

LICENSE

MIT