fix context problem

This commit is contained in:
Tobias Koppers 2019-05-31 22:11:56 +02:00
parent 979e6e40a8
commit 9850915eea
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ module.exports = class HarmonyImportDependencyParserPlugin {
expr.range,
this.strictExportPresence
);
dep.directImport = false;
dep.directImport = members.length === 0;
dep.call = true;
// only in case when we strictly follow the spec we need a special case here
dep.namespaceObjectAsContext =