svg-sprite-loader
svg-sprite-loader copied to clipboard
In webpack4, 5, the same configuration, the packaging structure is different, resulting in SVG rendering is not out

code:
<div className={styles.qoq}>
<span className={styles.qoqOrYoy}>Up</span>
<SvgIcon className={styles.icon} iconName={funToUseWhichIcon(qoq)} />
<span className={styles.per}>{resolveStringData(qoq) || '/'}</span>
</div>
svg is not out
maybe you should ignore webpack5 default type

maybe you should ignore webpack5 default type
6666