作业功能

This commit is contained in:
masnn committed 2020-06-02 11:33:40 +08:00
1 parent 216a4a91e4
commit bc50913e6e
60 files changed
+1161 -197

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ const build = (dirOrObject, exclude = []) => {
}
} else templates = dirOrObject;
for (const i in templates) {
if (!exclude.includes(i)) {
if (!exclude.includes(i) && i.endsWith('.html')) {
templates[i] = templates[i]
.trim()
.replace(/ *\n */gmi, ' ')