mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry. We should remove all browser/electron only codes from `core` eventually, this is the very first step for that.
18 lines
490 B
TypeScript
18 lines
490 B
TypeScript
import { configureWorkspaceImplServices } from '@affine/workspace-impl';
|
|
import {
|
|
configureInfraServices,
|
|
type ServiceCollection,
|
|
} from '@toeverything/infra';
|
|
|
|
import {
|
|
configureBusinessServices,
|
|
configureWebInfraServices,
|
|
} from './modules/services';
|
|
|
|
export function configureWebServices(services: ServiceCollection) {
|
|
configureInfraServices(services);
|
|
configureWebInfraServices(services);
|
|
configureBusinessServices(services);
|
|
configureWorkspaceImplServices(services);
|
|
}
|