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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
I think that the build was done without index.mjs files causing errors when using the package. The "module" section of the package.json tells us to look for index.mjs but that file is no longer included. The only included files are index.cjs and index.js but package.json is saying to look for index.mjs. Thus, I get build failures with Vite:
error during build:
[commonjs--resolver] Failed to resolve entry for package "pinia-plugin-persistedstate". The package may have incorrect main/module/exports specified in its package.json.
2e87c70
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that the build was done without
index.mjs
files causing errors when using the package. The "module" section of the package.json tells us to look forindex.mjs
but that file is no longer included. The only included files areindex.cjs
andindex.js
but package.json is saying to look forindex.mjs
. Thus, I get build failures with Vite: