yarn laravel-mix 0.7.0
v0.7.0

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

Potentially Breaking

  • If mix.version() is applied, the output path for mix.combine(src, output) will now automatically be versioned. If your webpack.mix.js file includes both mix.combine() and mix.version(), ensure that, in your HTML, you're referencing the proper output path for your mix.combine() call.

Additions

  • When calling mix.copy(), you may now also pass an array of file paths as the first argument.
mix.copy([
   'path/to/one.txt',
   'path/to/two.txt'
], 'public/output');
  • If mix.version() is applied, the output paths for mix.combine() will now automatically be versioned. 7c7aec6 and 4c065f2
  • You may now optionally pass an array to mix.version(). This way, you can version files that aren't part of your core Webpack build. cb819a0
mix.version(['public/js/some-file.js']);

This call will create a versioned file within the same directory. some-file.b2362b9e77323a1293c84124b5d6a5de.js. As with other versioned files, you may reference the mix-manifest.json file to fetch the exact hashed path.

https://www.dropbox.com/s/ssnc2zbuli4jzlp/Screenshot%202017-02-07%2013.09.17.png?dl=0

  • Bumped extract-text-webpack-plugin version. 4aac7a6

Fixes

  • Ensure that sass-loader always has sourcemaps enabled. This is a requirement for extracting CSS. c87a567

Don't miss a new laravel-mix release

NewReleases is sending notifications on new releases.