Can't import superjson to Express?

This is an ecommerce that I coded and completed. The app is using Vite for the front(superjson imported with no issues) and for the backend I have Express+trpc. The app works great, is tape safe, many npm packages installed but superjson is just different. I'm not using "type module" and if I put it there my server won't work. Any clue?
No description
No description
2 Replies
K1|ller
K1|llerOP11mo ago
This is how a normal file looks in my app, I have a very specific setup I like where I don't produce js files, just ts and I don't need file extensions.
No description
K1|ller
K1|llerOP11mo ago
tsconfig
No description
Want results from more Discord servers?
Add your server