Skip to content

Commit

Permalink
provide the default export to the users
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Jun 11, 2024
1 parent c4a8fc2 commit e2d4604
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1861,7 +1861,7 @@ async function installLibraries() {
if (result.success) {
adapter.log.debug(`Installed custom custom dependency: "${depName}@${version}"`);

context.mods[depName] = await adapter.importNodeModule(depName);
context.mods[depName] = (await adapter.importNodeModule(depName)).default;
} else {
adapter.log.warn(`Cannot install custom npm package "${libraries[lib]}"`);
}
Expand Down
Binary file modified src/public/google-blockly/blockly-10.4.3.tgz
Binary file not shown.

0 comments on commit e2d4604

Please sign in to comment.