Jannik Buschke
Jannik Buschke
Tried this https://github.com/Beven91/webpack-ant-icon-loader/issues as a workaround for code-splitting icons but the resulting bundle still shows all icons imported. This is my customize-cra config: ``` const { override, fixBabelImports } =...
@edongashi can you point directly to this icon.ts file you are mentioning? Im having a hard time finding it.
I think antd icons are now or will shortly support treeshaking: https://github.com/ant-design/ant-design-icons/pull/96/files
I also had problems with tree shaking. There have been also problems with some formik-antd components, however this might be fixed in the newest 1.4 version. Im preparing the documentation...
Unfortunately I'm lacking knowledge in this area. Any help by others is highly appreciated.
In the antd docs it is mentioned that the `style` prop in babel-import should be `true` https://ant.design/docs/react/customize-theme#Not-working
nice. Is there anything that should go into the docs/README?
Hi everyone, Using this https://github.com/jannikbuschke/cra-antd-x template I get the following build results: 121.26 KB build\static\js\2.9c6a56f0.chunk.js 21.56 KB build\static\css\2.79dd2953.chunk.css 775 B build\static\js\runtime-main.b6d4bee7.js 741 B build\static\js\main.1d9fb7ca.chunk.js 552 B build\static\css\main.1cde33cd.chunk.css using following config-overrides.js:...
I totallly agree, also for the other components the error messages are confusing. We should probably add proptypes
I spent some hours today to get some combination of dependencies working, so that I can use code-surfer and gatsby and use an pathPrefix to host my presentations on a...