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
I'm always getting a warning message from vite:resolve when tslib is resolved: [vite-plugin-svelte] The following packages did not export their package.json file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file. - tslib
(see index.ts:205)
The message is caused when somewhere in src/utils/resolve.ts:resolveViaPackageJsonSvelte(..) the error ERR_PACKAGE_PATH_NOT_EXPORTED occurs.
Because tslib Is a third-party lib that does not use Svelte, it does not make sense to check the "svelte" field.
Describe the proposed solution
It would be nice to have an option to exclude some libs from being checked for the "svelte" field.