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()
andmix.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