Patterns for grunt-usemin
npm install grunt-usemin-patternsPattern helper for the grunt-usemin module.
``shell`
npm i --save-dev grunt-usemin-patterns
`js``
grunt.initConfig({
usemin: {
html: 'bin/{public,views}/*/.html',
css: 'bin/public/*/.css',
options: {
dirs: ['bin'],
patterns: require('grunt-usemin-patterns').prefixIgnore('http://bevacqua.io/')
}
}
});
Uses the defaults that come with grunt-usemin @ v2.0.0
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.
MIT