-
I am getting this error when I try to use argon2 in my project. Any ideas how to fix this?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Remix handles files only for types listed in modules.ts. If you need to support a different type, you'll need to use https://github.com/remix-run/remix/blob/main/packages/remix-dev/modules.ts |
Beta Was this translation helpful? Give feedback.
-
I have encountered the same issue. I am using remix with vite. So the solution in my case is add the following to vite config
|
Beta Was this translation helpful? Give feedback.
Remix handles files only for types listed in modules.ts. If you need to support a different type, you'll need to use
patch-package
and update this file. Then submit a PR for inclusion.https://github.com/remix-run/remix/blob/main/packages/remix-dev/modules.ts