Build error with WebPack 5
Hi there,
we just wanted to warn that Cornerstone3D has a build issue with Webpack 5 due to the detect-gpu library
The issue is raised here : https://github.com/pmndrs/detect-gpu/issues/89
For those working with react 18 with create-react-app will have this issue.
I put this here because once detect-gpu will be fixed it will need to upgrade cornerstone 3d dependencies
Salim & Celian
We are facing this issue and we're unable to build a internal prod version due to this issue.
Do you have any workaround in the meantime?
On our side we gonna fork detect-gpu library and try to remove terser webpack plugin which seems to fix this issue as mentioned in https://github.com/pmndrs/detect-gpu/issues/89#issuecomment-1165234884 and we'll let you know
Is your problem resolved now? @Celian-abd