Open mongolyy opened 8 months ago
Any solutions?
This might be related to settings in your tsconfig.json
or the type field in your package.json
. When you put import SuperJSON from "superjson"
into one of your source files, does it fail with the same error?
When I upgraded superjson to version 2.0.0 and ran the
next build
command, I got the following error:I think this is due to superjson becoming ES Module in 2.0.0.
Environement