Support for CommonJS #188
Answered
by
igordanchenko
JurajKavka
asked this question in
Q&A
-
I have question if it is possible to build this package with support for CommonJS. We have custom SSR that is quite obsolete but still works and when I call the service it fails with error...
Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
igordanchenko
Sep 25, 2023
Replies: 1 comment 1 reply
-
Unfortunately, no. This package is distributed as ESM-only as it's meant to be used in projects with modern bundlers that can handle ESM-only dependencies. You can probably build your own CJS distro from source if you are unable to modernize your build toolchain. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
igordanchenko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, no. This package is distributed as ESM-only as it's meant to be used in projects with modern bundlers that can handle ESM-only dependencies. You can probably build your own CJS distro from source if you are unable to modernize your build toolchain.