Closed arpitdalal closed 11 months ago
Ah, yes, we'll wanna do that. Would you mind opening a pull request?
We do something similar for litefs-js: https://github.com/epicweb-dev/epic-stack/blob/main/app/utils/litefs.server.ts
Kinda annoying :(
of course
closed in #485
I was trying to add pwa support to the epic-stack but got an error saying that
Crypto
is a node package and after some digging, I found out that node crypto from@epic-web/totp
is being included in the client build as well. To resolve this, I just exported everything from@epic-web/totp
from a.server.ts
file and imported everything from that.server.ts
file instead of directly importing from@epic-web/totp