utils: use split loader into @hydrooj/register

This commit is contained in:
undefined committed 2024-01-24 04:11:48 +08:00
1 parent 4f74c666f6
commit cffce0bd79
14 files changed
+141 -122

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
require('@hydrooj/utils/lib/register');
require('@hydrooj/register');
const main = require('./main');
if (!module.parent) main();