7 Replies
adverse-sapphireOP•4mo ago
Im using convex tanstack start project
metropolitan-bronze•4mo ago
from what i know they dont really matter or affect the final build
it's just that some things are imported but never used
it shouldn't cause any issues
adverse-sapphireOP•4mo ago
but is there a way to silence them if they dont matter?
optimistic-gold•3mo ago
GitHub
[Vite] Noisy error “Module level directives cause errors when bun...
Reproduction If I got more time, I may submit a PR with a failing test, but for now, here’s an issue. To reproduce: git clone https://github.com/dtinth/fewshot cd fewshot git checkout 82d6437be436f...
foreign-sapphire•3mo ago
At least in my case that didn't work - the warnings are coming during the nitro build step (my logs look the same as the OP screenshot) and setting build.rollupOptions.onWarn seems not to affect those
If there's any way I'd love to get rid of these since they make my logs noisy and have been bothering me 😄
optimistic-gold•3mo ago
I guess this will be soon possible to set the onWarn properly once we have decoupled nitro from start
adverse-sapphireOP•3mo ago
jup also didnt help me 🙁
okay i found a way
but im still trying to debug smth
#vite.config.ts
#nitro.config.ts
