mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #11797 from Snuffleupagus/mozcentral-ignore-fallback-cursor-images
Don't bundle the fallback `grab`/`grabbing` cursor images when running `gulp mozcentral`
This commit is contained in:
commit
8527303858
1 changed files with 7 additions and 1 deletions
|
@ -1027,11 +1027,17 @@ gulp.task(
|
|||
var version = versionJSON.version,
|
||||
commit = versionJSON.commit;
|
||||
|
||||
// Ignore the fallback cursor images, since they're unnecessary in Firefox.
|
||||
const MOZCENTRAL_COMMON_WEB_FILES = [
|
||||
...COMMON_WEB_FILES,
|
||||
"!web/images/*.cur",
|
||||
];
|
||||
|
||||
return merge([
|
||||
createBundle(defines).pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "build")),
|
||||
createWebBundle(defines).pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
|
||||
gulp
|
||||
.src(COMMON_WEB_FILES, { base: "web/" })
|
||||
.src(MOZCENTRAL_COMMON_WEB_FILES, { base: "web/" })
|
||||
.pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
|
||||
gulp
|
||||
.src(["external/bcmaps/*.bcmap", "external/bcmaps/LICENSE"], {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue