next: esbuild loader

This commit is contained in:
undefined committed 2021-07-29 02:59:50 +08:00
1 parent cca54dc92a
commit 5eaec48002
28 files changed
+171 -113

No files matched your search

+3 -3
View File
@@ -5,8 +5,8 @@ import path from 'path';
import { ObjectID } from 'mongodb';
import fs from 'fs-extra';
import { noop } from 'lodash';
import { Logger } from 'hydrooj/dist/logger';
import * as monitor from 'hydrooj/dist/service/monitor';
import { Logger } from 'hydrooj/src/logger';
import * as monitor from 'hydrooj/src/service/monitor';
import * as sysinfo from './sysinfo';
import * as tmpfs from './tmpfs';
import { FormatError, CompileError, SystemError } from './error';
@@ -15,7 +15,7 @@ import { compilerText, md5 } from './utils';
import readCases from './cases';
import { getConfig } from './config';
declare module 'hydrooj/dist/interface' {
declare module 'hydrooj/src/interface' {
interface SystemKeys {
'hydrojudge.cache_dir': string,
'hydrojudge.tmp_dir': string,