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
@ -1027,11 +1027,17 @@ gulp.task(
|
|||||||
var version = versionJSON.version,
|
var version = versionJSON.version,
|
||||||
commit = versionJSON.commit;
|
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([
|
return merge([
|
||||||
createBundle(defines).pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "build")),
|
createBundle(defines).pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "build")),
|
||||||
createWebBundle(defines).pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
|
createWebBundle(defines).pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
|
||||||
gulp
|
gulp
|
||||||
.src(COMMON_WEB_FILES, { base: "web/" })
|
.src(MOZCENTRAL_COMMON_WEB_FILES, { base: "web/" })
|
||||||
.pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
|
.pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
|
||||||
gulp
|
gulp
|
||||||
.src(["external/bcmaps/*.bcmap", "external/bcmaps/LICENSE"], {
|
.src(["external/bcmaps/*.bcmap", "external/bcmaps/LICENSE"], {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user