It comes with Browserify, ES6, SCSS, LESS, CoffeeScript, Autoprefixer, Livereload and Bower support included.
Latest release of Laravel Basset 1.6 brings several very powerful features which will ease your development.
A small update on Laravel Basset.
No need to worry, there were only a few updates because there was no major changes.
The original architecture with collection configuration is still the same and all internal dependencies have been updated. So Browserify, reactify, Babel and everything else is the latest version possible.
This article explains how to publish collection files to builds with Basset – better asset management for Laravel. You will need to know how to use Basset first in order to understand the guide below.
Sometimes you will need to copy files from collection folders to public/builds so that they can be used from public folders.
Sometimes third party code (like in bower_components) comes with .min files, already minified files. They are most often minified with UglifyJS.
But sometimes libraries, like AngularJS, come with files minified with Google’s Closure Compiler, which can sometimes have even smaller files then UglifyJS (if you specifically optimize your code for Closure Compiler).
And if you use many of those libraries, you can cut down on your build sizes a lot.
Basset can use that. Basset has feature “auto .min swapping” which will try to discover those .min files and use their content instead of normal raw source files. Those .min files will still go through UglifyJS, but the benefits of Closure Compiler, or any other different minifier, will remain there.
So you can just use
gulp production build with Bower components and never think about it. Basset will do the rest for you.