DEPRECATED: Babel is now included on elixir by default.
laravel-elixir-6to5
Simple extension to laravel elixir to build javascript bundle with 6to5.
Install
npm install --save-dev laravel-elixir-6to5
Usage
Example Gulpfile:
var elixir = ; ; ;
First argument is the entry point of your application (default directory is resources/assets/js). Second argument is destination directory. In third argument you could pass 6to5 options. Two latest parameters are optional. In production main will be compressed.
Advanced example
;
Options
See the 6to5
options.