Merge pull request #16249 from Snuffleupagus/Chrome-88
[api-minor] Update the minimum supported Google Chrome version
This commit is contained in:
commit
8398cabd17
23
gulpfile.js
23
gulpfile.js
@ -79,7 +79,7 @@ const config = JSON.parse(fs.readFileSync(CONFIG_FILE).toString());
|
||||
|
||||
const ENV_TARGETS = [
|
||||
"last 2 versions",
|
||||
"Chrome >= 87",
|
||||
"Chrome >= 88",
|
||||
"Firefox ESR",
|
||||
"Safari >= 14.1",
|
||||
"Node >= 16",
|
||||
@ -1312,6 +1312,9 @@ gulp.task(
|
||||
...COMMON_WEB_FILES,
|
||||
"!web/images/toolbarButton-openFile.svg",
|
||||
];
|
||||
const MOZCENTRAL_AUTOPREFIXER_CONFIG = {
|
||||
overrideBrowserslist: ["last 1 firefox versions"],
|
||||
};
|
||||
|
||||
// Clear out everything in the firefox extension build directory
|
||||
rimraf.sync(MOZCENTRAL_DIR);
|
||||
@ -1353,23 +1356,11 @@ gulp.task(
|
||||
),
|
||||
|
||||
preprocessCSS("web/viewer.css", defines)
|
||||
.pipe(
|
||||
postcss([
|
||||
autoprefixer({
|
||||
overrideBrowserslist: ["last 1 firefox versions"],
|
||||
}),
|
||||
])
|
||||
)
|
||||
.pipe(postcss([autoprefixer(MOZCENTRAL_AUTOPREFIXER_CONFIG)]))
|
||||
.pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
|
||||
|
||||
preprocessCSS("web/viewer-geckoview.css", defines)
|
||||
.pipe(
|
||||
postcss([
|
||||
autoprefixer({
|
||||
overrideBrowserslist: ["last 1 firefox versions"],
|
||||
}),
|
||||
])
|
||||
)
|
||||
.pipe(postcss([autoprefixer(MOZCENTRAL_AUTOPREFIXER_CONFIG)]))
|
||||
.pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
|
||||
|
||||
gulp
|
||||
@ -1458,7 +1449,7 @@ gulp.task(
|
||||
.pipe(
|
||||
postcss([
|
||||
postcssDirPseudoClass(),
|
||||
autoprefixer({ overrideBrowserslist: ["Chrome >= 87"] }),
|
||||
autoprefixer(AUTOPREFIXER_CONFIG),
|
||||
])
|
||||
)
|
||||
.pipe(gulp.dest(CHROME_BUILD_CONTENT_DIR + "web")),
|
||||
|
Loading…
x
Reference in New Issue
Block a user