mirror of https://github.com/webpack/webpack.git
fix context problem
This commit is contained in:
parent
979e6e40a8
commit
9850915eea
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in New Issue