Any expert around on #Vite / #Rollupjs & #React #Reactjs ?
I'm a complete noob on frontend development, and I'm struggling to understand something that is happening in a project I'm just setting up ( https://github.com/Coder-Spirit/beautiful-tree ):
- When I run `pnpm run build`, the output contains a lot of code from React, even though I tried to mark it as external.
- I see that the output has "dev-only" code, with conditionals that check for NODE_ENV... not nice.
Is there any way to fix any of those 2 problems?
