Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

could you provide a link on how to enable this experimental setting ? thank you.


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
    }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: