mesqueeb / vuex-easy-firestore

Easy coupling of firestore and a vuex module. 2-way sync with 0 boilerplate!
https://mesqueeb.github.io/vuex-easy-firestore
MIT License
233 stars 28 forks source link

cannot-find-options--patch #391

Closed zabakala closed 1 year ago

zabakala commented 1 year ago

In reaction to the following error (@mesqueeb):

$ npm run rollup

> vuex-easy-firestore@1.37.0 rollup
> rollup -c build/rollup.js

src/index.ts → dist/index.cjs.js, dist/index.esm.js...
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
firebase/compat/app (imported by src\index.ts, src\utils\incrementHelper.ts, src\utils\arrayHelpers.ts)
firebase/compat/firestore (imported by src\index.ts, src\utils\incrementHelper.ts, src\utils\arrayHelpers.ts)
firebase/compat/auth (imported by src\index.ts)
[!] (plugin rpt2) Error: .../vuex-easy-firestore/src/module/actions.ts(341,16): semantic error TS2552: Cannot find name 'options'. Did you mean 'Option'?