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

+6 -6
View File
@@ -4,12 +4,12 @@ import os from 'os';
import fs from 'fs-extra';
import AdmZip from 'adm-zip';
import yaml from 'js-yaml';
import { Route, Handler } from 'hydrooj/dist/service/server';
import { BadRequestError, ValidationError } from 'hydrooj/dist/error';
import { ProblemAdd } from 'hydrooj/dist/lib/ui';
import problem from 'hydrooj/dist/model/problem';
import { PERM } from 'hydrooj/dist/model/builtin';
import { buildContent } from 'hydrooj/dist/lib/content';
import { Route, Handler } from 'hydrooj/src/service/server';
import { BadRequestError, ValidationError } from 'hydrooj/src/error';
import { ProblemAdd } from 'hydrooj/src/lib/ui';
import problem from 'hydrooj/src/model/problem';
import { PERM } from 'hydrooj/src/model/builtin';
import { buildContent } from 'hydrooj/src/lib/content';
import type { ContentNode, ProblemConfigFile } from 'hydrooj';
fs.ensureDirSync('/tmp/hydro/import-qduoj');