mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-10 17:15:51 +02:00
fix: Update image pattern in gulpfile to accommodate missing images
This commit is contained in:
parent
6a4a3b060d
commit
0aa4fc6af8
11
gulpfile.mjs
11
gulpfile.mjs
@ -1203,16 +1203,7 @@ gulp.task(
|
|||||||
function buildComponents(defines, dir) {
|
function buildComponents(defines, dir) {
|
||||||
fs.rmSync(dir, { recursive: true, force: true });
|
fs.rmSync(dir, { recursive: true, force: true });
|
||||||
|
|
||||||
const COMPONENTS_IMAGES = [
|
const COMPONENTS_IMAGES = ["web/images/*.svg", "web/images/*.gif"];
|
||||||
"web/images/annotation-*.svg",
|
|
||||||
"web/images/loading-icon.gif",
|
|
||||||
"web/images/altText_*.svg",
|
|
||||||
"web/images/editor-toolbar-*.svg",
|
|
||||||
"web/images/messageBar_*.svg",
|
|
||||||
"web/images/toolbarButton-{editorHighlight,menuArrow}.svg",
|
|
||||||
"web/images/cursor-*.svg",
|
|
||||||
"web/images/comment-*.svg",
|
|
||||||
];
|
|
||||||
|
|
||||||
return ordered([
|
return ordered([
|
||||||
createComponentsBundle(defines).pipe(gulp.dest(dir)),
|
createComponentsBundle(defines).pipe(gulp.dest(dir)),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user