mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
14 lines
511 B
TypeScript
14 lines
511 B
TypeScript
import type { NodeCGServerAPI } from '../types/index.js';
|
|
import { set } from './util/nodecg.js';
|
|
|
|
export default async (nodecg: NodeCGServerAPI) => {
|
|
/**
|
|
* Because of how top-level `import`s work, it helps to use `import`s here
|
|
* to force things to be loaded *after* the NodeCG context is set.
|
|
*/
|
|
set(nodecg); // set nodecg "context" before anything else
|
|
await import('./util/replicants.js'); // make sure replicants are set up
|
|
await import('./example.js');
|
|
await import('./startgg.js');
|
|
};
|