mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
测试构建
This commit is contained in:
1 parent
27cfe81e31
commit
9156fa3a9b
6 files changed
+80
-48
No files matched your search
@@ -3,7 +3,7 @@ const path = require('path');
|
||||
|
||||
const root = (name) => path.resolve(__dirname, name);
|
||||
|
||||
exports.prebuild = () => {
|
||||
exports.prebuild = async () => {
|
||||
const pages = fs.readdirSync(root('raw'));
|
||||
const res = {};
|
||||
for (const page of pages) {
|
||||
|
||||
Reference in new issue
Block a user