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",