From 583d6d7cb31695b9d15dbf21c9d942bfa0aa3a11 Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Tue, 8 Jun 2021 17:36:15 +0200 Subject: [PATCH] Fix a hidden merge conflict --- src/ExportMap.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/ExportMap.js b/src/ExportMap.js index b27b553ab..53091e466 100644 --- a/src/ExportMap.js +++ b/src/ExportMap.js @@ -383,12 +383,14 @@ ExportMap.parse = function (path, content, context) { const getter = thunkFor(p, context); m.imports.set(p, { getter, - source: { + declarations: new Set([{ + source: { // capturing actual node reference holds full AST in memory! - value: source.value, - loc: source.loc, - }, - importedSpecifiers, + value: source.value, + loc: source.loc, + }, + importedSpecifiers, + }]), }); }