Browse Source

Disable transpile to older iOS versions (#18462)

Yamagishi Kazutoshi 1 year ago
parent
commit
dfb9e6dab1
3 changed files with 11 additions and 7 deletions
  1. 9 0
      .browserslistrc
  2. 2 1
      .devcontainer/devcontainer.json
  3. 0 6
      package.json

+ 9 - 0
.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

+ 2 - 1
.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.

+ 0 - 6
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",