0.12.0 straight up doesn't work. Downgrading back to 0.11.0 and it works again.
vite/5.4.1 linux-x64 node-v22.6.0
> vite
error when starting dev server:
Error [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "dist/main.mjs" defined in the package config /home/lts20050703/git/20050703.xyz/node_modules/mdsvex/package.json imported from /home/lts20050703/git/20050703.xyz/svelte.config.js; targets must start with "./"
at invalidPackageTarget (node:internal/modules/esm/resolve:334:10)
at resolvePackageTargetString (node:internal/modules/esm/resolve:387:11)
at resolvePackageTarget (node:internal/modules/esm/resolve:466:12)
at resolvePackageTarget (node:internal/modules/esm/resolve:516:31)
at packageExportsResolve (node:internal/modules/esm/resolve:580:27)
at packageResolve (node:internal/modules/esm/resolve:822:14)
at moduleResolve (node:internal/modules/esm/resolve:908:18)
at defaultResolve (node:internal/modules/esm/resolve:1039:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:554:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:523:25)
0.12.0 straight up doesn't work. Downgrading back to 0.11.0 and it works again.
vite/5.4.1 linux-x64 node-v22.6.0