View in #ohif on Slack
@Fima_Furman: Has anyone experience 1hr yarn build times of the latest OHIF version? yarn run dev works quickly, and yarn build takes almost an hour:
@ohif/app: <s> [webpack.Progress] 29% building 0/1 entries 7800/7895 dependencies 1815/3143 modules
@ohif/app: <s> [webpack.Progress] 33% building 0/1 entries 10120/10134 dependencies 2100/4954 modules
@ohif/app: <s> [webpack.Progress] 34% building 0/1 entries 11235/11300 dependencies 2456/5410 modules
I believe tailwind it’s considering 100K class configurations. I am not yet convinced this issue is specific to our changes or the core OHIF.
@Bill_Wallace: Try using bun - the latest ohif has a number of changes to allow building it with bun. For example, the most recent Dockerfile build is about 5 minutes for me
@Fima_Furman: @Bill_Wallace Thank you. Apparently it was this change we re-enabled - it is commented out in the core Viewer:
Commenting it out fixed the problem with the build.