Revert "Upgrade to webpack@5 (#4725)" (#4872)

This commit is contained in:
Jim Ehrismann authored and GitHub committed 2022-02-16 09:14:14 -05:00
1 parent a2ee3c4d5d
commit 733bb543c9
52 files changed
+18973 -5519

No files matched your search

@@ -28,7 +28,7 @@ function getCategoryIcon(category: CatalogCategory) {
const { icon } = category.metadata ?? {};
if (typeof icon === "string") {
return Icon.isSvg(icon)
return icon.includes("<svg")
? <Icon small svg={icon}/>
: <Icon small material={icon}/>;
}