I have to use
transpilePackages: [“@react-three/drei”]
in next.config.js to be able to use drei. Why ? This is my configuration :
“jest”: “^29.7.0”,
“@react-three/drei”: “^9.105.5”,
“next”: “^14.2.3”,
“three”: “^0.149.0”,
“react”: “^18.3.1”,
How do you use it with jest and next ? With next 14 and jest 29 I didn’t manage to make it work for the moment.