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:
Tim van der Meij 2020-04-10 21:27:41 +02:00 committed by GitHub
commit 8527303858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"], {