mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:03:45 +08:00
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:
parent
de9fe907ee
commit
6bea6cba5d
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user