This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
bug: cjs build doesn't work in cjs #17
Comments
I could fix this via building execa in a build step before tsc is ran and making execa a devDep. That's a bit hacky though. This is easy to fix with most build tools by just bundling the node module too. |
Another fix I could try is using |
Good catch. I'm strictly not using CJS at this point so I missed this. My go-to solution for this is usually dynamic imports. Want to submit a PR for that? |
@roninjin10 Can you test the latest version? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is a cjs build but because
execa
is included and is a js library of type: module cjs doesn't workThe text was updated successfully, but these errors were encountered: