mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01: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) {
|
||||
fs.rmSync(dir, { recursive: true, force: true });
|
||||
|
||||
const COMPONENTS_IMAGES = [
|
||||
"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",
|
||||
];
|
||||
const COMPONENTS_IMAGES = ["web/images/*.svg", "web/images/*.gif"];
|
||||
|
||||
return ordered([
|
||||
createComponentsBundle(defines).pipe(gulp.dest(dir)),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user