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({
|
||||
format: 'iife',
|
||||
entryPoints: pageFiles.map((i) => join(global.Hydro.ui.manifest[i], i)),
|
||||
|
||||
Reference in new issue
Block a user