I noticed something weird happening with layers I believe. I wanted to load my localization in a Storybook decorator and I got errors concerning Node.js utils being externalized by vite (like process, path, fs/promise, etc.) which are not being used by this layer at all (it's just importing a bunch of files contrary to the impl in the app), but which are used by other layers like the database. These layers are not connected in any way via imports and that localization layer is the only thing I imported in Storybook so I got very confused.
I elected to import the implementation instead of a layer and not use Effect at all (it's simpler anyway) but I wonder if some of you understand what could have happened.