- Run yarn add next@canary
- Add to your next.config.js:
experimental: { swcMinify: true, swcLoader: true }