@veloceapps/sdk 2.0.16 → 2.0.17
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.
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
};
|
|
744
744
|
var normalizedElMetadata = normalizeElementMetadata(elMetadata);
|
|
745
745
|
if (!metadata.script || !EXPORTED_CLASS_REGEX.test(metadata.script)) {
|
|
746
|
-
throw new UiBuildError("'" + metadata.name + "'
|
|
746
|
+
throw new UiBuildError("'" + metadata.name + "' component script is missing an exported class", metadata);
|
|
747
747
|
}
|
|
748
748
|
var script = metadata.script &&
|
|
749
749
|
window.btoa(metadata.script.replace(EXPORTED_CLASS_REGEX, "@ElementDefinition(" + stringifyElementMetadata(normalizedElMetadata) + ")\nexport class Script"));
|