Skip to content

Commit

Permalink
fix: skip resolveMap handle when runtimeOpts not exists (#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinbao1001 committed Apr 29, 2024
1 parent dbb278a commit fdcfbbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assetParsers/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ async function parseBlockAsset(opts: {
type: 'NPM',
value: pkg.version,
};

result.resolveMap[args.path] = args.path;
if (opts.techStack.runtimeOpts)
result.resolveMap[args.path] = args.path;
}

// make all deps external
Expand Down

0 comments on commit fdcfbbf

Please sign in to comment.