Skip to content

Commit 3cabbbf

Browse files
committed
Add a config getter to module container
1 parent 3684b90 commit 3cabbbf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/common/src/config/ModuleContainer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ export class ModuleContainer<
296296
>(this.currentConfig ?? {}, config);
297297
}
298298

299+
public get config() {
300+
return super.config;
301+
}
302+
299303
// eslint-disable-next-line accessor-pairs
300304
public set config(config: ModulesConfig<Modules>) {
301305
super.config = merge<

0 commit comments

Comments
 (0)