Skip to content

Commit d761c51

Browse files
committed
feat: add @antdv-next/icons support
Add @antdv-next/icons to import map using the self-contained antd-icons.esm.js bundle. Users can import icons on demand: import { SmileOutlined } from '@antdv-next/icons' Closes #2
1 parent eb2c417 commit d761c51

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/utils/dependency.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ export const genImportMap = ({
6363
version: antdvNext,
6464
path: '/',
6565
},
66+
'@antdv-next/icons': {
67+
version: 'latest',
68+
path: '/dist/antd-icons.esm.js',
69+
},
6670
}
6771

6872
const extraPackages = getExtraPackages()

0 commit comments

Comments
 (0)