feat: 增加日志
This commit is contained in:
parent
a1b74f25fa
commit
57afc8bf19
|
@ -21,6 +21,7 @@ const minifyOptions = {
|
|||
};
|
||||
|
||||
function composePage(url) {
|
||||
console.log(`pre-rendering ${url}...`);
|
||||
const { title, contents } = JSON.parse(fs.readFileSync(`./dist/generated/docs/${url}.json`, 'utf-8'));
|
||||
|
||||
if (!contents) {
|
||||
|
|
Loading…
Reference in New Issue