From dfb9e6dab1b119c907dece5555408c9b98ec8f2c Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Fri, 20 May 2022 11:39:05 +0900 Subject: [PATCH] Disable transpile to older iOS versions (#18462) --- .browserslistrc | 9 +++++++++ .devcontainer/devcontainer.json | 3 ++- package.json | 6 ------ 3 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 .browserslistrc diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 000000000..d5734664c --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,9 @@ +[production] +defaults +not IE 11 +not dead + +[development] +last 1 chrome version +last 1 firefox version +last 1 safari version diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 628efc8ec..9d9e54d4f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,7 +11,8 @@ "extensions": [ "EditorConfig.EditorConfig", "dbaeumer.vscode-eslint", - "rebornix.Ruby" + "rebornix.Ruby", + "webben.browserslist" ], // Use 'forwardPorts' to make a list of ports inside the container available locally. diff --git a/package.json b/package.json index 4d44cee2b..90fc54edc 100644 --- a/package.json +++ b/package.json @@ -22,12 +22,6 @@ "type": "git", "url": "https://github.com/mastodon/mastodon.git" }, - "browserslist": [ - "last 2 versions", - "not IE 11", - "iOS >= 9", - "not dead" - ], "private": true, "dependencies": { "@babel/core": "^7.17.12",