ant-design/site
Karott 338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
..
theme perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
.eslintrc.js 💄 fix eslint problems 2018-11-28 15:11:02 +08:00
antd.js Add variable.less to support css variable (#31496) 2021-09-01 10:56:50 +08:00
bisheng.config.js fix: dev broken (#35453) 2022-05-09 20:54:42 +08:00
themeConfig.d.ts docs: 🌈 Add Components overview page (#24491) 2020-05-31 11:48:34 +08:00
themeConfig.js docs: add ProComponents cards (#33647) 2022-01-11 10:51:45 +08:00