Antd/Remove Style Import
Last update
Jul 24, 2024
Comment out the style file import from antd (in js file).
Example
Before
import 'antd/es/auto-complete/style';import 'antd/lib/button/style/index.less';import 'antd/dist/antd.compact.min.css';
After
// import 'antd/es/auto-complete/style';// import 'antd/lib/button/style/index.less';// import 'antd/dist/antd.compact.min.css';
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community