trusted-setup-server/plugins/phase2.js

11 lines
237 B
JavaScript
Raw Normal View History

2020-01-29 17:59:37 +01:00
import init, { contribute } from '@/lib/phase2/phase2.js'
export default ({ store, isHMR, app }, inject) => {
inject('contribute', main)
}
async function main() {
const initPromise = init()
await initPromise
return contribute
}