core: fix lib load

This commit is contained in:
undefined committed 2021-04-06 18:30:24 +08:00
1 parent acf533cdba
commit 9c5d9079c9
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "2.21.11", "version": "2.21.12",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "dist/loader.js", "main": "dist/loader.js",
"typings": "dist/loader.d.ts", "typings": "dist/loader.d.ts",
+2 -2
View File
@@ -12,8 +12,8 @@ const logger = new Logger('common', true);
export const builtinLib = [ export const builtinLib = [
'jwt', 'download', 'i18n', 'mail', 'useragent', 'jwt', 'download', 'i18n', 'mail', 'useragent',
'crypto', 'misc', 'paginate', 'hash.hydro', 'rank', 'crypto', 'misc', 'paginate', 'hash.hydro', 'rank',
'validator', 'ui', 'sysinfo', 'testdata.convert.ini', 'testdataConfig', 'validator', 'ui', 'testdata.convert.ini', 'testdataConfig', 'difficulty',
'content', 'difficulty', 'content',
]; ];
export const builtinModel = [ export const builtinModel = [