图片增加webp适配
This commit is contained in:
parent
2d79c528a2
commit
1c101b549a
@ -31,7 +31,7 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
"_range": "editor.mode.checkImages(thiseval, './project/images/')",
|
"_range": "editor.mode.checkImages(thiseval, './project/images/')",
|
||||||
"_directory": "./project/images/",
|
"_directory": "./project/images/",
|
||||||
"_transform": (function (one) {
|
"_transform": (function (one) {
|
||||||
if (one.endsWith('.png') || one.endsWith('.jpg') || one.endsWith('.jpeg') || one.endsWith('.gif'))
|
if (one.endsWith('.png') || one.endsWith('.jpg') || one.endsWith('.jpeg') || one.endsWith('.gif') || one.endsWith('.webp'))
|
||||||
return one;
|
return one;
|
||||||
return null;
|
return null;
|
||||||
}).toString(),
|
}).toString(),
|
||||||
|
Loading…
Reference in New Issue
Block a user