diff --git a/src/utils.ts b/src/utils.ts index 6530d9d7..df8fffd6 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -170,6 +170,9 @@ async function writeJsonOutput( // (this way we can install into deno.json without destroying configurations) try { const existing = JSON.parse(await fs.readFile(mapFile, "utf8")); + delete existing.imports; + delete existing.scopes; + delete existing.integrity; map = Object.assign({}, existing, map); } catch {}