File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { Injectable , Provider } from '@ali/common-di' ;
2+ import { BrowserModule } from '@ali/ide-core-browser' ;
3+ import { ExtensionActivateContribution } from './extension/extension.contribution' ;
4+
5+ @Injectable ( )
6+ export class AlexModule extends BrowserModule {
7+ providers : Provider [ ] = [ ExtensionActivateContribution ] ;
8+ }
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import { WorkspaceEditModule } from '@ali/ide-workspace-edit/lib/browser';
4646
4747import { ClientModule , ServerModuleCollection } from '@alipay/alex-core' ;
4848import { PluginModule } from '@alipay/alex-plugin' ;
49+ import { AlexModule } from './alex.module' ;
4950
5051// TODO: 部分模块需要注意顺序,否则会报错,待框架侧调整修复
5152export const modules : ModuleConstructor [ ] = [
@@ -100,4 +101,5 @@ export const modules: ModuleConstructor[] = [
100101 ClientModule ,
101102 PluginModule ,
102103 ...ServerModuleCollection ,
104+ AlexModule ,
103105] ;
You can’t perform that action at this time.
0 commit comments