Skip to content

Commit

Permalink
fix: avoid removing virtual files from cache
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Jul 5, 2022
1 parent ffa3ab6 commit 222ad1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/loader/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export default async function (

if (virtualSources.has(this.resource)) {
const { code, map } = virtualSources.get(this.resource);
virtualSources.delete(this.resource);
return this.callback(null, code, map);
}

Expand Down

0 comments on commit 222ad1a

Please sign in to comment.