Hacker News new | ask | show | jobs
by alfonsodev 1710 days ago
could you provide a link on how to enable this experimental setting ? thank you.
1 comments

https://github.com/swc-project/swc/discussions/2097#discussi...

- Run yarn add next@canary

- Add to your next.config.js:

    experimental: {
        swcMinify: true,
        swcLoader: true
    }