Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
Compare
Choose a tag to compare
@JeffreyWay JeffreyWay released this 20 Nov 21:10
· 335 commits to master since this release
  • Vueify removed (in favor of Elixir extension)
  • gulp-babel bumped to v6.1
  • Babel upgraded to v6

Breaking Changes

Babel

The main reason for the 4.0 bump is to account for Babel 6.

http://babeljs.io/blog/2015/10/29/6.0.0/

Babel no longer includes plugins out of the box, so we've updated Elixir's Babel config to reflect the new system. By default, we're pulling in the ES2015 preset, which should include everything you need when running mix.babel() or mix.browserify().

If your Gulpfile was tweaking Elixir's Babel config, make sure you adjust accordingly. See here, where we swap to using a preset.

dc3b660

Vueify Removed

Vueify support has been removed entirely, in order to limit Elixir's dependency list a bit. Don't worry; it's easy to return.

First, install the Laravel Elixir Vueify extension:

npm install laravel-elixir-vueify

Next, require it in your main Gulpfile, at the top, like this:

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

require('laravel-elixir-vueify');

elixir(function(mix) {
    mix.browserify('main.js');
});

And that's it! Call mix.browserify() like you've always done.