Merge pull request #15451 from Snuffleupagus/major-support

[api-major] Update the minimum supported browsers/environments
This commit is contained in:
Tim van der Meij 2022-09-18 14:28:31 +02:00 committed by GitHub
commit f91cc3dd5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,9 +80,10 @@ const config = JSON.parse(fs.readFileSync(CONFIG_FILE).toString());
const ENV_TARGETS = [
"last 2 versions",
"Chrome >= 76",
"Chrome >= 85",
"Firefox ESR",
"Safari >= 13.1",
"Safari >= 14",
"Node >= 14",
"> 1%",
"not IE > 0",
"not dead",
@ -1400,7 +1401,7 @@ gulp.task(
postcss([
postcssLogical({ preserve: true }),
postcssDirPseudoClass(),
autoprefixer({ overrideBrowserslist: ["Chrome >= 76"] }),
autoprefixer({ overrideBrowserslist: ["Chrome >= 85"] }),
])
)
.pipe(gulp.dest(CHROME_BUILD_CONTENT_DIR + "web")),
@ -1973,7 +1974,7 @@ gulp.task("dev-css", function createDevCSS() {
postcss([
postcssLogical({ preserve: true }),
postcssDirPseudoClass(),
autoprefixer({ overrideBrowserslist: ["last 2 versions"] }),
autoprefixer({ overrideBrowserslist: ["last 1 versions"] }),
])
)
.pipe(gulp.dest(cssDir)),