mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
dev: bump version
This commit is contained in:
1 parent
5eaec48002
commit
0cd91d7475
22 files changed
+23
-60
No files matched your search
@@ -134,6 +134,7 @@ export async function template(pending: string[], fail: string[]) {
|
||||
try {
|
||||
const files = getFiles(p);
|
||||
for (const file of files) {
|
||||
if (file.endsWith('.tsx')) global.Hydro.ui.template[file] = eval('require')(path.resolve(p, file));
|
||||
global.Hydro.ui.template[file] = await fs.readFile(path.resolve(p, file), 'utf-8');
|
||||
}
|
||||
logger.info('Template init: %s', i);
|
||||
|
||||
Reference in new issue
Block a user