Laravel Mix v6.0 Release Notes

  • โฌ†๏ธ View upgrade guide.

    โž• Added

    • ๐Ÿ‘ Support for webpack 5
    • ๐Ÿ— New npx mix executable for triggering your build
    • ๐Ÿ‘ Support for Vue 3 applications
    • ๐Ÿ‘ Support for PostCSS 8
    • New mix.vue() and mix.react() commands
    • ๐Ÿ“„ New mix.alias() command (Learn More)
    • ๐Ÿ“„ Support for changing the webpack manifest output path (Learn More)
    • ๐Ÿ“„ New mix.before() hook (Learn More)
    • ๐Ÿ‘ Improved mix.combine() wildcard support
    • Improved mix.extract() priority and tree-shaking logic

    ๐Ÿ”„ Changed

    • ๐Ÿ›  Fixed "empty CSS file" extraction bug when using dynamic imports
    • ๐Ÿ›  Fixed mix.ts() TypeScript bug that skipped Babel transformation in certain cases
    • ๐Ÿ”€ Fixed and improved PostCSS plugin autoloading and merging
    • ๐Ÿ›  Fixed an issue related to hot module reloading when versioning is enabled
    • Added TypeScript types for API