0.1.0 • Published 8 years ago

laravel-elixir-cleanup v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

laravel-elixir-cleanup

Clean built and custom files or folders.

Install

npm install laravel-elixir-cleanup --save-dev

Usage

Default clean folders: public/css, public/js, public/build.

var elixir = require('laravel-elixir');
require('laravel-elixir-clean');

elixir(function(mix) {
  mix
    .cleanup() // Default clean
    // or
    .cleanup(['public/images','public/fonts']) // Custom folders are merged with the default folders
    .less('*.less')
    .coffee('*.coffee');
});

Single task run:

gulp cleanup

Multi task run:

gulp

License

MIT