pmndrs / react-three-next

React Three Fiber, Threejs, Nextjs starter
https://react-three-next.vercel.app/
MIT License
2.52k stars 342 forks source link

Are Babel packages still used? #94

Closed kayden1940 closed 2 years ago

kayden1940 commented 2 years ago

Got a question about babel in this repo. Reading from there would be an babel.config.js for @babel/plugin-transform-runtime, babel-plugin-glsl. But there isn't one in this repoe, are babel packages not used anymore? or there is some tricks of next.js I am not aware of? https://nextjs.org/docs/advanced-features/customizing-babel-config

RenaudRohlinger commented 2 years ago

@kayden1940 Ah, thanks for the issue after moving to SWC I forgot to remove some babel dependencies. Indeed since Nextjs v11 we moved from babel to SWC so these dependencies are not necessary anymore