pinafore/routes/_database/database.workerize.js

4 lines
130 B
JavaScript
Raw Normal View History

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