Skip to content

Commit 9072465

Browse files
committed
fix nolazyload tpl
1 parent 1dd64e1 commit 9072465

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

config/WebpackImageSizesPlugin.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ class WebpackImageSizesPlugin {
6868
*/
6969
function getTemplateFileNames() {
7070
return fs.readdirSync(that._tplFolder).filter((tpl) => {
71-
if (tpl !== 'default-picture.tpl' && tpl !== 'default-picture-caption.tpl') {
71+
if (
72+
tpl !== 'default-picture.tpl' &&
73+
tpl !== 'default-picture-caption.tpl' &&
74+
tpl !== 'default-picture-nolazyload.tpl' &&
75+
tpl !== 'default-picture-nolazyload-caption.tpl'
76+
) {
7277
return tpl
7378
}
7479
})

0 commit comments

Comments
 (0)