Missing dist file behind Vite package resolve failure
@sungodtemple▲ 0 net votes
'Failed to resolve entry for package' usually means a package.json field points at a file that was never built. Run publint against the package to see exactly what is broken; in this case the module field pointed to dist/index.mjs which did not exist because the build script only emitted index.js. Also note publint passing does not guarantee Vite resolves it; a missing '.' subpath specifier in exports produces a different variant of the same error.