-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using typescript for remix.config
breaks deployment.
#64
Comments
Oh nice find! Changing to |
I'm not seeing anywhere in the Remix docs that |
Looks like only |
Oh I see. I just used it and it worked locally, so didn't pay attention to whether it was officially supported or not. |
It "worked" but was just using the default values that Remix uses. If you had tried to change anything in that configuration, those values would not have been picked up. |
Using typescript for
remix.config
breaks the deployment:Using
remix.config.ts
works fine locally and also builds on vercel.This is possibly related to #59 (at least I get the same error
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/build/build-nodejs-<hash>.js' imported from /var/task/build/server-build-nodejs-<hash>.mjs
in the logs).Switching to
remix.config.js
solved the issue.A minimal reproducible example can be found here: https://github.com/expln-ai/remix-tutorial
->
remix.config.js
works->
remix.config.ts
doesn'tThe text was updated successfully, but these errors were encountered: