const AntIcons = require('ant-icons/lib/plugin')
const {resolve} = require('path')
module.exports = {
// ...webpack config
plugins: [
...AntIcons(resolve(__dirname, 'my', 'custom', 'path', '*.svg'))
]
}
const AntIcons = require('ant-icons/lib/plugin')
const {resolve} = require('path')
module.exports = {
// ...webpack config
plugins: [
...AntIcons([
resolve(__dirname, 'my', 'custom', 'path', '*.svg'),
resolve(__dirname, 'another', 'custom', 'path', '*.svg'),
resolve(__dirname, 'and', 'another', 'path', '*.svg'),
])
]
}