Skip to content

Commit 901c806

Browse files
authored
Allow to rebind messaging services in preload (#13199)
1 parent a20db92 commit 901c806

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dev-packages/application-manager/src/generator/frontend-generator.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ function load(container, jsModule) {
9292
.then(containerModule => container.load(containerModule.default));
9393
}
9494
95-
async function preload(parent) {
96-
const container = new Container();
97-
container.parent = parent;
95+
async function preload(container) {
9896
try {
9997
${Array.from(frontendPreloadModules.values(), jsModulePath => `\
10098
await load(container, ${this.importOrRequire()}('${jsModulePath}'));`).join(EOL)}

0 commit comments

Comments
 (0)