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

+7 -7
View File
@@ -4,13 +4,13 @@ import xml2js from 'xml2js';
import fs from 'fs-extra';
import { filter } from 'lodash';
import decodeHTML from 'decode-html';
import { Route, Handler } from 'hydrooj/dist/service/server';
import { buildContent } from 'hydrooj/dist/lib/content';
import { ProblemAdd } from 'hydrooj/dist/lib/ui';
import solution from 'hydrooj/dist/model/solution';
import problem from 'hydrooj/dist/model/problem';
import { PERM } from 'hydrooj/dist/model/builtin';
import { FileTooLargeError, ValidationError } from 'hydrooj/dist/error';
import { Route, Handler } from 'hydrooj/src/service/server';
import { buildContent } from 'hydrooj/src/lib/content';
import { ProblemAdd } from 'hydrooj/src/lib/ui';
import solution from 'hydrooj/src/model/solution';
import problem from 'hydrooj/src/model/problem';
import { PERM } from 'hydrooj/src/model/builtin';
import { FileTooLargeError, ValidationError } from 'hydrooj/src/error';
import type { ContentNode, ProblemConfigFile } from 'hydrooj';
class FpsProblemImportHandler extends Handler {