I have an react app created using create-react-app. So using webpack which is bundled with create-react-app.
I have to use find() of Pouchdb, which I am unable to do. Other Pouch functionality is working fine but find
plugin is not getting attached to Pouch.
import PouchDB from 'pouchdb';
PouchDB.plugin(require('pouchdb-find'));
Versions in package.json :
"pouchdb": "^6.4.1",
"pouchdb-browser": "^6.4.1",
"pouchdb-find": "^6.4.1"
Do anyone have Idea how to fix this. Thanks in advance.