You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any project that's built on top of vite in some form (and there's quite a lot now), will check if the package.json has a "type":"module", and otherwise complain with this:
Any project that's built on top of vite in some form (and there's quite a lot now), will check if the package.json has a "type":"module", and otherwise complain with this:
If a project only has a deno.json, it's thus necessary to make an extra package.json, just with
{ "type": "module" }
to remove this issue.I assume it's somehow related to this code in Vite - but some adjustment is needed for deno.json to be fully standalone.
Repro steps here, but any vite project will do:
vitest
tracking issue #23882 (comment)The text was updated successfully, but these errors were encountered: