load components as part of manifest ts

This commit is contained in:
Mads Rasmussen
2023-09-26 11:13:51 +02:00
parent d3f03de2b6
commit 42c7084bd2
2 changed files with 4 additions and 6 deletions

View File

@@ -3,4 +3,8 @@ import { manifests as userManifests } from './users/manifests.js';
import { manifests as userSectionManifests } from './user-section/manifests.js';
import { manifests as currentUserManifests } from './current-user/manifests.js';
// We need to load any components that are not loaded by the user management bundle to register them in the browser.
import './user-groups/components/index.js';
import './users/components/index.js';
export const manifests = [...userGroupManifests, ...userManifests, ...userSectionManifests, ...currentUserManifests];

View File

@@ -7,10 +7,4 @@ export const extensions = [
type: 'bundle',
loader: () => import('./manifests.js'),
},
{
name: 'User Management Entry Point',
alias: 'Umb.EntryPoint.UserManagement',
type: 'entryPoint',
loader: () => import('./index.js'),
},
];