nksaraf / vinxi

The Full Stack JavaScript SDK
https://vinxi.vercel.app
MIT License
2.14k stars 81 forks source link

Extra ./node_modules/ folder created just for .vinxi when used with `bun` workspaces #320

Open birkskyum opened 4 months ago

birkskyum commented 4 months ago

In a monorepo (bun workspaces), when running the dev server a new node_modules/ folder is created inside my solidstart app package, just to accommodate a nested .vinxi folder as shown below

Screenshot 2024-06-26 at 17 15 46

When building, a .vinxi folder is created at the same level as the node_modules folder, so now there are two .vinxi folders...

Screenshot 2024-06-26 at 17 18 07

It doesn't really makes sense to create an extra node_modules folder just for vinxi

birkskyum commented 2 days ago

This issue appear somewhat bun-specific, since other package managers doesn't hoist to the same extend