stillgbx
stillgbx
It's not related to codebase size or dependencies number. I've a small project with 16 dependencies and the issue occurs since my last commit, even with a max-old-space-size of 20GB.
@Niputi I'm currently trying to isolate the issue
@Niputi For now, if I uncomment one of this import then the build breaks:  Edit: Because these services are also used by a Web Workers And I can see...
because I stop the build to show you the warning message
``` vite v2.9.9 building for production... ✓ 391 modules transformed. ✓ 603 modules transformed. ✓ 885 modules transformed. ✓ 896 modules transformed. ✓ 1120 modules transformed. ✓ 1344 modules transformed....
@Niputi here is a minimal test repo: https://github.com/stillgbx/vite-build-issue  PS: Like in my original project, I use a Web Worker _(imported with the query suffix `?worker`)_ and I realize now...
Thank you @sapphi-red Yes I identified that. I still think vite should notify us of the circular dependency if it can detect it.
Thank you Jacob. You'll see that the implementation is pretty simple. Let me know if I can do more.
see also https://github.com/GoogleWebComponents/google-map/issues/314