diff --git a/packages/dynamic-import/client.js b/packages/dynamic-import/client.js index cf04e8a304..b074b5ab31 100644 --- a/packages/dynamic-import/client.js +++ b/packages/dynamic-import/client.js @@ -172,7 +172,7 @@ function addToTree(tree, id, value) { function getNamespace(module, id) { var namespace = Object.create(null); - module.import(id, { + module.importSync(id, { "*": function (value, name) { namespace[name] = value; }