laravel-elixir-modernizr
v1.1.1
Published
Scan your resources and generate a custom Modernizr build for your app.
Downloads
33
Maintainers
Readme
Laravel Elixir Modernizr
Laravel Elixir 3.0+ extension that uses gulp-modernizr to crawl your app and build a custom Modernizr file with only the tests you're actually using.
Install
npm install laravel-elixir-modernizr --save-dev
Throw it into your Elixir mix:
var Elixir = require('laravel-elixir');
require('laravel-elixir-modernizr');
Elixir(function(mix) {
...
mix.modernizr();
...
});
Options
Sources
Array of globs to scan for Modernizr tests.
Default: Assuming default Elixir paths, it would scan public/js/**/*.js
and public/css/**/*.css
.
Output
Directory path and file name of generated build file.
Default: Assuming default Elixir JS output path, the file will be placed at public/js/vendor/modernir-custom.js
.
Customizr options
gulp-modernizr
passes options to Customizr. You can see them here.
All credit goes to
- doctyper for his awesome Customizr tool
- His gulp-modernizr Gulp wrapper.
- All contributors to the Laravel Elixir project.