packages bundle
This commit is contained in:
@@ -2,7 +2,6 @@ import { manifests as repositoryManifests } from './package/repository/manifests
|
||||
import { manifests as packageBuilderManifests } from './package-builder/manifests.js';
|
||||
import { manifests as packageRepoManifests } from './package-repo/manifests.js';
|
||||
import { manifests as packageSectionManifests } from './package-section/manifests.js';
|
||||
import type { UmbEntryPointOnInit } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
export const manifests = [
|
||||
...repositoryManifests,
|
||||
@@ -10,7 +9,3 @@ export const manifests = [
|
||||
...packageRepoManifests,
|
||||
...packageSectionManifests,
|
||||
];
|
||||
|
||||
export const onInit: UmbEntryPointOnInit = (_host, extensionRegistry) => {
|
||||
extensionRegistry.registerMany(manifests);
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
export const name = 'Umbraco.Core.PackageManagement';
|
||||
export const extensions = [
|
||||
{
|
||||
name: 'Package Management Entry Point',
|
||||
alias: 'Umb.EntryPoint.PackageManagement',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./package-entry-point.js'),
|
||||
name: 'Package Management Bundle',
|
||||
alias: 'Umb.Bundle.PackageManagement',
|
||||
type: 'bundle',
|
||||
loader: () => import('./manifests.js'),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user