6 ms·
The announcements from NextJS has been really confusing. I don't think they are using SWC yet. They are just working on it. The reason for the confusion is beca
by o_m 5y ago
The announcements from NextJS has been really confusing. I don't think they are using SWC yet. They are just working on it. The reason for the confusion is because they write about the progress in the release notes, making it look like they are using it.
- cute_boi 5y agoMay be in next release we get swc in nextjs?
- forsakenharmony 5y agoIt's being using to bundle some parts of nextjs itself, but not quite ready to replace babel for users rn afaik
- crubier 5y agoSWC in NextJS is still in canary with experimental settings, but it took me 3 lines of code yesterday to make it work on a fairly large app ( https://labelflow.ai https://labelflow.ai ). Hot reload times instantly went from 10s to 1s. Twitter discussion here https://twitter.com/vlecrubier/status/1448371633673187329?s=21 https://twitter.com/vlecrubier/status/1448371633673187329?s=... Overall I’m pretty bullish on Rust tooling and integration within the JS/ Wasm ecosystem !
- alfonsodev 5y agocould you provide a link on how to enable this experimental setting ? thank you.
- presentation 5y agohttps://github.com/swc-project/swc/discussions/2097#discussioncomment-1198394 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 }