Skip to content

Commit b48e159

Browse files
committed
pass correct namespace
1 parent bee0ac8 commit b48e159

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

buildprocess/configureWebpackForPlugins.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,8 @@ function createPluginIconsRule() {
5151
options: {
5252
namespace: (svgPath) => {
5353
// Generate a symbolId by concatenating the package name and the icon name
54-
const packageName = packageNames[svgPath] || "terriajs-plugin-";
55-
const iconName = path.basename(svgPath, ".svg");
56-
const symbolId = `${packageName}-${iconName}`;
57-
return symbolId;
54+
const packageName = packageNames[svgPath] || "terriajs-plugin";
55+
return packageName;
5856
}
5957
}
6058
};

0 commit comments

Comments
 (0)