-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES module support (ts-invariant\process) #227
Comments
same here when used in nuxt3
I added “type": "module" to ts-invariant/process/package.json to workaround, but "adds ts-invariant/process to the transpile option" doesn't work for me, would you tell me more about your workaround? thanks! |
I find a pr #240 |
I have the same problem when using A quick fix is to rename the file and import to |
Loading ts-invariant in an ESM context, leads to the following error
It works after one adds
ts-invariant/process
to thetranspile
option (ornoExternal
in vite ssr config). Such a workaround is not needed for the 'main' ts-invariant package. So I guess there is a problem withinvariant-packages/packages/ts-invariant/process/package.json
Line 4 in 3c28a00
The text was updated successfully, but these errors were encountered: