yarn laravel-mix 0.8.0
v0.8.0

latest releases: 6.0.49, 6.0.48, 6.0.47...
7 years ago

Additions

  • Added Stylus support, via mix.stylus(src, output). The first time you run this method, it will install the necessary dependencies. a0f9cdd
  • Added the ability to disable CSS url() rewriting. This is a feature of Webpack's, not a bug. That said, if you don't want Webpack to touch your CSS url()'s, you can add...
mix.options({ processCssUrls: false });

...to your webpack.mix.js file. 58d6b5d

  • Added a mix.babel() method. This works identically to mix.combine(), except for the fact that it applies Babel compilation, once the files have been concatenated. This is useful for simple projects, where you only need to combine a few scripts...but still would like to use ES2015. 047ab9c
  • Added a mix.react() method. Its signature is identical to mix.js(), and enables the necessary Babel plugins to compile everything down properly. The first time you run this method, it will install the necessary dependencies. a79f64b
  • Bumped clean-css dependency. 39923ee
  • Added mix.setResourceRoot() method. d779fa4

Fixes

  • Downgraded Webpack's css-loader dependency to a release before a particular performance bug was introduced. This should improve compile times significantly. 433bbab
  • Removed window.jQuery from Webpack's ProvidePlugin default. This seemed to cause issues with some plugins that check if window.jQuery is defined. f83b54f
  • Fixed an issue that caused certain old versioned files to not be deleted properly. 3c8bb72

Don't miss a new laravel-mix release

NewReleases is sending notifications on new releases.