FIX: Add safari 12 to ember-cli build targets in production (#16745)

cf273ec6 removed ie11 as a target. A side effect is that this also removed support for Safari 12, which we will be maintaining support for until January 2023

https://meta.discourse.org/t/224747
This commit is contained in:
David Taylor 2022-05-13 10:08:59 +01:00 committed by GitHub
parent de9fe907ee
commit 6bea6cba5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,19 @@
"use strict";
const isCI = !!process.env.CI;
const isProduction = process.env.EMBER_ENV === "production";
const browsers = [
"last 1 Chrome versions",
"last 1 Firefox versions",
"last 1 Safari versions",
];
if (isCI || isProduction) {
// https://meta.discourse.org/t/224747
browsers.push("Safari 12");
}
module.exports = {
browsers,
};