Fix require
This commit is contained in:
parent
8da83dac58
commit
1e3d0a3a49
|
@ -17,7 +17,7 @@ export function getPouch(url?: string) {
|
||||||
prefix: url,
|
prefix: url,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const replicationStream = require("pouchdb-replication-stream")
|
const replicationStream = require("@budibase/pouchdb-replication-stream")
|
||||||
PouchDB.plugin(replicationStream.plugin)
|
PouchDB.plugin(replicationStream.plugin)
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
PouchDB.adapter("writableStream", replicationStream.adapters.writableStream)
|
PouchDB.adapter("writableStream", replicationStream.adapters.writableStream)
|
||||||
|
|
Loading…
Reference in New Issue