Global PouchDB
Switch from require("pouchdb")
to just using whatever global PouchDB
object is around. Websites can just pull in the hosted PouchDB with a script
tag. It also makes it possible to use other PouchDB presets like pouchdb-node, or pouchdb-browser, or entirely custom builds.