Skip to content
This repository was archived by the owner on Dec 3, 2021. It is now read-only.

Commit aa410b8

Browse files
committed
Ship v3.0.0-alpha.1
1 parent 3be873a commit aa410b8

File tree

5 files changed

+178
-181
lines changed

5 files changed

+178
-181
lines changed

build/pug.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,7 @@ const checkPath = (src, dest, injectVendors, injectSvg) => {
7474
// TODO: handle errors
7575
})
7676
} else if (isPug(src)) {
77-
if (src.includes('_partial') || src.includes('_partial')) {
78-
const files = getAllFiles('pug/')
79-
files.forEach(file => {
80-
if (isPug(file)) {
81-
compilePugToHtml(resolve(file), dest, injectVendors, injectSvg)
82-
}
83-
// TODO: handle errors
84-
})
85-
} else {
86-
compilePugToHtml(resolve(src), dest, injectVendors, injectSvg)
87-
}
77+
compilePugToHtml(resolve(src), dest, injectVendors, injectSvg)
8878
}
8979
// TODO: handle errors
9080
}

0 commit comments

Comments
 (0)