stillgbx

Results 9 comments of 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: ![image](https://user-images.githubusercontent.com/15780237/168561541-1fae4d28-4611-4518-a449-a7bd42b2860d.png) 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 ![image](https://user-images.githubusercontent.com/15780237/168586122-8501640c-0433-4178-8d51-3b9c3b35fd8b.png) 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