Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Remove IE11 from browserslist and babel targets #38779

Merged
merged 14 commits into from Dec 25, 2022
2 changes: 1 addition & 1 deletion .dumi/theme/builtins/Previewer/index.tsx
Expand Up @@ -323,7 +323,7 @@ createRoot(document.getElementById('container')).render(<Demo />);
test: 'react-scripts test --env=jsdom',
eject: 'react-scripts eject',
},
browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],
browserslist: ['>0.2%', 'not dead'],
};
const codesanboxPrefillConfig = {
files: {
Expand Down
3 changes: 2 additions & 1 deletion components/config-provider/__tests__/theme.test.tsx
Expand Up @@ -10,7 +10,8 @@ import { resetWarned } from '../../_util/warning';

const { defaultAlgorithm, darkAlgorithm, compactAlgorithm } = theme;

let mockCanUseDom = true;
// eslint-disable-next-line no-var
var mockCanUseDom = true;

jest.mock('rc-util/lib/Dom/canUseDom', () => () => mockCanUseDom);

Expand Down
6 changes: 2 additions & 4 deletions package.json
Expand Up @@ -104,9 +104,7 @@
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead",
"IE 11",
"not IE 10"
"not dead"
],
"dependencies": {
"@ant-design/colors": "^6.0.0",
Expand Down Expand Up @@ -158,7 +156,7 @@
"throttle-debounce": "^5.0.0"
},
"devDependencies": {
"@ant-design/tools": "^16.1.0-alpha.2",
"@ant-design/tools": "17.0.0-alpha.5",
afc163 marked this conversation as resolved.
Show resolved Hide resolved
"@babel/eslint-plugin": "^7.19.1",
"@emotion/babel-preset-css-prop": "^11.10.0",
"@emotion/css": "^11.10.5",
Expand Down