Skip to content

Commit

Permalink
🔖 release v3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
prazdevs committed Aug 28, 2024
1 parent 5bcff39 commit 2e87c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pinia-plugin-persistedstate",
"type": "module",
"version": "3.2.1",
"version": "3.2.2",
"description": "Configurable persistence and rehydration of Pinia stores.",
"author": "prazdevs",
"license": "MIT",
Expand Down

1 comment on commit 2e87c70

@BraedenKilburn
Copy link

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 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.

Please sign in to comment.