v0.7.0
Potentially Breaking
- If
mix.version()is applied, the output path formix.combine(src, output)will now automatically be versioned. If yourwebpack.mix.jsfile includes bothmix.combine()andmix.version(), ensure that, in your HTML, you're referencing the proper output path for yourmix.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 formix.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-pluginversion. 4aac7a6
Fixes
- Ensure that
sass-loaderalways has sourcemaps enabled. This is a requirement for extracting CSS. c87a567