@builder.io/sdk-svelte 0.0.1-8 → 0.0.1-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -152,7 +152,7 @@ const allComponentsArray = [...getDefaultRegisteredComponents(), // While this `
|
|
|
152
152
|
// which is the new standard way of providing custom components, and must therefore take precedence.
|
|
153
153
|
...components, ...(customComponents || [])];
|
|
154
154
|
const allComponents = allComponentsArray.reduce((acc, curr) => ({ ...acc,
|
|
155
|
-
[curr.
|
|
155
|
+
[curr.name]: curr
|
|
156
156
|
}), {});
|
|
157
157
|
return allComponents;
|
|
158
158
|
};
|