pinafore/routes/_database/database.workerize.js

4 lines
130 B
JavaScript

// workerize version, used in production
const database = process.browser && require('./databaseWorker.js')()
export { database }