Skip to content

Commit

Permalink
fix: add preload modules options (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 authored Jul 31, 2021
1 parent abfee28 commit 1681f42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/bootstrap/src/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class BootstrapStarter {
// 初始化一个只读配置的空框架,并且初始化容器和扫描
const framework = new ConfigFramework();
await framework.initialize({
...this.globalOptions,
baseDir: this.baseDir,
appDir: this.appDir,
globalApplicationHandler: (type: MidwayFrameworkType) => {
Expand Down

0 comments on commit 1681f42

Please sign in to comment.