Issue description:
When trying to build quasar app with "npx quasar build", "pinia-plugin-persistedstate" throws an error.
C:\Users\guest\Documents\project\test\frontend\main-app\node_modules\vite\dist\node\chunks\dep-40c65ceb.js:38597
throw new Error(
^
Error: Missing "./package.json" export in "pinia-plugin-persistedstate" package
at bail (C:\Users\guest\Documents\project\test\frontend\main-app\node_modules\vite\dist\node\chunks\dep-40c65ceb.js:38597:8)
at resolve (C:\Users\guest\Documents\project\test\frontend\main-app\node_modules\vite\dist\node\chunks\dep-40c65ceb.js:38674:10)
at resolveExports (C:\Users\guest\Documents\project\test\frontend\main-app\node_modules\vite\dist\node\chunks\dep-40c65ceb.js:40982:12)
at resolveDeepImport (C:\Users\guest\Documents\project\test\frontend\main-app\node_modules\vite\dist\node\chunks\dep-40c65ceb.js:41000:31)
at tryNodeResolve (C:\Users\guest\Documents\project\test\frontend\main-app\node_modules\vite\dist\node\chunks\dep-40c65ceb.js:40773:20)
at Object.resolveId (C:\Users\guest\Documents\project\test\frontend\main-app\node_modules\vite\dist\node\chunks\dep-40c65ceb.js:40581:28)
at C:\Users\guest\Documents\project\test\frontend\main-app\node_modules\rollup\dist\shared\rollup.js:22826:37 {
code: 'PLUGIN_ERROR',
plugin: 'vite:resolve',
hook: 'resolveId'
}
This is my first time encountering this error since using this package in other framework. This time, I started with Quasar + Vite via the CLI installation. Is Quasar + Vite not compatible with "pinia-plugin-persistedstate" package? Any clarification will be appreciated. Thanks !
Describe the bug
Hi,
Issue description: When trying to build quasar app with "npx quasar build", "pinia-plugin-persistedstate" throws an error.
This is my first time encountering this error since using this package in other framework. This time, I started with Quasar + Vite via the CLI installation. Is Quasar + Vite not compatible with "pinia-plugin-persistedstate" package? Any clarification will be appreciated. Thanks !
Package Version: "pinia": "^2.0.11", "pinia-plugin-persistedstate": "^3.2.1", "quasar": "^2.6.0", "vue": "^3.0.0",
Quasar Build Info: Build mode............. spa Pkg quasar............. v2.15.0 Pkg @quasar/app-vite... v1.8.0 Pkg vite............... v2.9.17
Reproduction
NA
System Info
Used Package Manager
npm
Validations