nksaraf / vinxi

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

build continues after failure #297

Open joprice opened 4 months ago

joprice commented 4 months ago

When building a solid-start project with an error in it, the build throws the below errors, but continues and returns successful status code. Is this expected? I would think the build would fail fast.

📦 Compiling client router...
vinxi building router client in client mode
Error: Transform failed with 2 errors:
<stdin>:38:13: ERROR: Multiple exports with the same name "getUser"
<stdin>:38:13: ERROR: The symbol "getUser" has already been declared