0.0.1 • Published 12 years ago

grunt-usemin-patterns v0.0.1

Weekly downloads
1
License
-
Repository
-
Last release
12 years ago

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