Seb-L / pinia-plugin-persist

Persist pinia state data in sessionStorage or other storages.
https://Seb-L.github.io/pinia-plugin-persist/
MIT License
214 stars 37 forks source link

need package.json flag to allow importing to ESM (.mjs) modules #52

Open narration-sd opened 2 years ago

narration-sd commented 2 years ago

I've created a PR for this already, as it's a simple one-line and non-interfering fix, merci :)

It's here, just to save the moment. It's tested via yalc.

My case involves an import() promise, but the definition still needs to be there in the npm package.