mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: bug fix
This commit is contained in:
1 parent
8428581860
commit
18f23b8c68
2 files changed
+2
-2
No files matched your search
@@ -25,7 +25,7 @@ declare module 'hydrooj/src/interface' {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const pageFiles = Object.keys(global.Hydro.ui.manifest).filter(/\.page\.[jt]sx?$/.test);
|
const pageFiles = Object.keys(global.Hydro.ui.manifest).filter((i) => /\.page\.[jt]sx?$/.test(i));
|
||||||
const build = esbuild.buildSync({
|
const build = esbuild.buildSync({
|
||||||
format: 'iife',
|
format: 'iife',
|
||||||
entryPoints: pageFiles.map((i) => join(global.Hydro.ui.manifest[i], i)),
|
entryPoints: pageFiles.map((i) => join(global.Hydro.ui.manifest[i], i)),
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.38.4",
|
"version": "4.38.5",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
Reference in new issue
Block a user