Skip to content

Releases: laravel-mix/laravel-mix

v1.7.0

06 Dec 15:10
Compare
Choose a tag to compare

New

  • #1277 Added support for ES7 async/await

Fixes

  • #1343 Fix the default path public directory calculation on Windows
  • a9d26462f752b7c0db65dfdd485d061d47094aa0 Remove the drop_console config option.

v1.6.0

06 Nov 19:43
Compare
Choose a tag to compare

New

  • #1301 Updated uglify-js to version 1.0. This release finally adds ES6 support.
  • #1294 Added Preact support, via mix.preact().
  • #1163 Added support for Vue global styles that can be available to all components.
  • 68bc859 mix.webpackConfig() now can accept a callback function.
  • #1243 The underlying sourcemap style is now configurable.
  • #1300 CSS autoprefixing may now be toggled.

Fixes

  • #1264 Fixed vue-template-compiler incompatibility.
  • #1237 extractVueStyles accepts a string path.

v1.5.0

09 Oct 20:22
Compare
Choose a tag to compare

New

  • 6b5ae97 The transform-object-rest-spread Babel plugin is now enabled by default.
  • #1211 Vue's esModule option is now configurable.
  • #1154 file-loader output directories are now configurable.
  • #1097 Add Browsersync support for the dd() function.

Fixes

  • #1189 When applying postcss plugins, autoprefixer will now always occur last in the sequence.

v1.4.4

19 Sep 14:14
Compare
Choose a tag to compare

Updates

  • bd77f7c Bump vue-loader dependency to 13.0.5.
  • 6909f2a Yarn auto-installing saves to dev-dependencies now.

v1.4.3

11 Sep 16:17
Compare
Choose a tag to compare

New

  • b7846ca Bump webpack to 3.5.
  • #1088 Bump vue-template-compiler version.

Fixes

  • #1077 Dispatch an event when the webpack configuration is finished being constructed by Mix.
  • #1180 Load alternative Vue dist file for TypeScript.
  • 9766a2a Fix node-sass path for standalone Sass compilation.

v1.4.0

26 Jul 15:42
Compare
Choose a tag to compare

New

  • #1012 Added support for postcss exclusive compilation (no Sass or Less required): mix.postCss().
  • f7c7ff9 Pin webpack 3.4 dependency.

Fixes

  • #879 Local sourcemap support now defaults to the webpack "inline-source-map" type.
  • b78d5bf Hot reloading now properly writes its temporary file to the proper publicPath.
  • #1043 Adjusted the BuildCallbackPlugin to fire after all custom tasks have completed.
  • #1048 Properly save auto-installed dependencies when using Yarn.

v1.3.0

21 Jul 19:05
Compare
Choose a tag to compare

New

  • #1008 You can now pass a directory path to mix.version() to version all nested files.
mix.version('path/to/folder');
  • #1030 mix.combine(), mix.scripts(), and mix.styles() may now also accept a folder path.
mix.scripts('public/js/vendor', 'public/combined.js'); // combine all files in this dir
mix.scripts('public/assets/*.js', 'public/combined.js') // combine all JS files in this dir
  • #1003 Custom file watching now respects the --watch-poll command line option.
  • #1028 Support importing .vue files using TypeScript.
  • 25ed65b Returned webpack 3 scope hoisting optimizations.

Fixes

  • #996 Serve static files from webpackDevServer.
  • #1025 Disabling success notifications is now respected by mix.fastSass().

v1.2.0

11 Jul 13:51
Compare
Choose a tag to compare

New

  • #963 - You may now import Sass and Less files directly into your JavaScript, if needed.
  • 650c604 Bumped various dependencies.

Fixes

  • 99d2f3f Mix.combine() now provides better feedback if the output path is omitted.
    = 7e61f56 Mix.babel() no longer hardcodes the Babel config. It instead reads from Mix's config (or yours, if you provide one).

v1.1.0

07 Jul 15:28
Compare
Choose a tag to compare

New

  • #885 Added support for variable expansion within .env files.

Fixes

  • #962 Fixed a bad path calculation when watchingmix.copy() assets for changes.
  • #957 A custom public directory that doesn't exist will no longer cause Mix to error out.
  • #964 Fixed an issue with calculating relative paths outside of the project root.
  • 88c126e We now use the ES-module build of Vue, rather than the CommonJS version.

v1.0.7

26 Jun 16:25
Compare
Choose a tag to compare
  • 643f9b9 Fixes a glitch related to importing files with a .css extension in your Sass files.