-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Hello there I experienced slow build and dev times when adding more and more dependencies this is because deno resolves packages at runtime, however deno recommends not using that feature for tools like Vite see here

It mentions that projects with package.json uses the manual mode by default but the deno.jsonc redefines it to auto, so overriding that behavior. Because none and auto is not recommended for Vite it's bad currently.
So in my solution and also in this template: https://github.com/redabacha/remix-deno-vite-template
Both define nodeModulesDir with manual
I will raise another issue because the server.ts is also wrong as it doesn't resolve non asset static files correctly and just passes them to the handler.
Metadata
Metadata
Assignees
Labels
No labels