From 48ad1a013a8743d406c2c9525c44aa26a5c32964 Mon Sep 17 00:00:00 2001 From: Ben Scott Date: Wed, 22 Jul 2020 10:07:58 -0700 Subject: [PATCH] Use explicit browserslist instead of config Consuming apps may end up reading this config and we don't want them to need `@shopify/browserslist-config` installed to work. --- UNRELEASED.md | 1 + package.json | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/UNRELEASED.md b/UNRELEASED.md index 69f7099ce4b..e4f60a22cc2 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -11,6 +11,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f ### Bug fixes - Fixed case where `DatePicker` did not translate the weekday name in an aria label ([#3113](https://github.com/Shopify/polaris-react/pull/3113)) +- Updated browserslist config to be an explicit list instead of extending an existing config, so that consuming apps don't need to depend upon `@shopify/browserslist-config` ([#3132](https://github.com/Shopify/polaris-react/pull/3132)) ### Documentation diff --git a/package.json b/package.json index 98ae9342389..ec960cbf9d7 100644 --- a/package.json +++ b/package.json @@ -168,7 +168,13 @@ "typescript": "~3.9.2" }, "browserslist": [ - "extends @shopify/browserslist-config" + "last 3 chrome versions", + "last 3 chromeandroid versions", + "last 3 firefox versions", + "last 3 opera versions", + "last 2 edge versions", + "safari >= 10", + "ios >= 10" ], "prettier": "@shopify/prettier-config", "stylelint": {