From 5b9c18a8b72faff9d45f1dcd3e8992397cad750e Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Wed, 25 Mar 2020 11:42:16 -0400 Subject: [PATCH] =?UTF-8?q?Remove=20support=20for=20some=20older=20browser?= =?UTF-8?q?s=20that=20probably=20didn=E2=80=99t=20wor=E2=80=A6=20(#1080)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 25 +++++++++++++++++++------ tsconfig.json | 2 +- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 84296f17..6d80003e 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,23 @@ { - "browserslist": [ - ">0.2%", - "not dead", - "not ie <= 11", - "not op_mini all" - ], + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not ie <= 11", + "not op_mini all", + "not safari < 12", + "not kaios <= 2.5", + "not edge < 79", + "not chrome < 70", + "not and_uc < 13", + "not samsung < 10" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, "dependencies": { "browser-nativefs": "0.4.0", "i18next-browser-languagedetector": "4.0.2", diff --git a/tsconfig.json b/tsconfig.json index af10394b..3440e545 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "es6", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true,