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
When I run vitest with the miniflare environment I get a missing file error due to one of the build files not being present. Here's a minimal vite project that reproduces the error: https://github.com/amorey/miniflare-vitest-bug
git clone git@github.com:amorey/miniflare-vitest-bug.gitcd miniflare-vitest-bugpnpm installpnpm test
In this particular example, the error is that the build artifact dist/main.cjs is missing. If I remove the "main" definition from package.json, the error goes away.
The text was updated successfully, but these errors were encountered:
When I run vitest with the
miniflare
environment I get a missing file error due to one of the build files not being present. Here's a minimal vite project that reproduces the error:https://github.com/amorey/miniflare-vitest-bug
In this particular example, the error is that the build artifact
dist/main.cjs
is missing. If I remove the"main"
definition from package.json, the error goes away.The text was updated successfully, but these errors were encountered: