Skip to content

Commit

Permalink
Allow to rebind messaging services in preload (#13199)
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew authored Dec 21, 2023
1 parent a20db92 commit 901c806
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ function load(container, jsModule) {
.then(containerModule => container.load(containerModule.default));
}
async function preload(parent) {
const container = new Container();
container.parent = parent;
async function preload(container) {
try {
${Array.from(frontendPreloadModules.values(), jsModulePath => `\
await load(container, ${this.importOrRequire()}('${jsModulePath}'));`).join(EOL)}
Expand Down

0 comments on commit 901c806

Please sign in to comment.