Skip to content

@ant-design/icon-vue build is not introduced on demand after build #4104

@white-007

Description

@white-007
  • I have searched the issues of this repository and believe that this is not a duplicate.

版本:2.14

What problem does this feature solve?

@ant-design/icon-vue build后不是按需引入的,项目中只这样(import { UpOutlined, DownOutlined } from '@ant-design/icons-vue')引入了几个图标,但是build出来后是把所有的图标都引入了,导致@ant-design这个包很大

What does the proposed API look like?

@ant-design/icon-vue build后不要全量引入,只构建使用了的图标

WeChat4d000b00cb20721a84e7f1b7ef66f5b9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions