We are excited to introduce Next.js 10.2, featuring:
Update today by running npm i next@latest .
With Next.js 10.1, we improved Fast Refresh and decreased installation times . We're excited to share additional performance improvements enabled through webpack 5.
Today, we're expanding the rollout of webpack 5 to Next.js applications. Starting from Next.js 10.2, all applications that do not use a custom webpack configuration in their next.config.js will automatically use webpack 5.
When webpack 5 is enabled, you'll automatically get new features and improvements like:
We've worked hard to ensure a smooth transition from webpack 4 to 5. The Next.js core test suite with over 3,400 integration tests runs on every pull request with webpack 5 support enabled.
This is an excerpt. The full article is published by Next.js Blog.
Continue reading at Next.js Blog