ESM Support? #283
davidhousedev
started this conversation in
General
Replies: 1 comment
-
Eventually I plan to do the change to ESM, but since that's a breaking change I have been delaying it, specially when it's possible to use it right now being CJS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While the source code for remix-auth is written using ESM, the built package only supports CJS. When using
remix-auth
in a Vite-based Remix app, this requiresremix-auth
to be excluded from native ESM support viassr.optimizeDeps.include
. Do you have any plans to support a build of the package that supports an ESM entrypoint?Thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions