@umbraco-cms/backoffice 14.0.0--preview004-fe149e14 → 14.0.0--preview004-394e37f9
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.
|
@@ -2,7 +2,7 @@ import { isManifestJSType, isManifestLoaderType } from '../type-guards/index.js'
|
|
|
2
2
|
export async function loadExtension(manifest) {
|
|
3
3
|
try {
|
|
4
4
|
if (isManifestLoaderType(manifest)) {
|
|
5
|
-
return manifest.loader();
|
|
5
|
+
return await manifest.loader();
|
|
6
6
|
}
|
|
7
7
|
if (isManifestJSType(manifest) && manifest.js) {
|
|
8
8
|
return await import(/* @vite-ignore */ manifest.js);
|