Skip to content

Commit

Permalink
Use relative path for bundle labels in bundle analysis (#7737)
Browse files Browse the repository at this point in the history
  • Loading branch information
ittaibaratz committed Mar 20, 2022
1 parent ec8ed46 commit 957523f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -142,7 +142,7 @@ async function getBundleNode(bundle: PackagedBundle, options: PluginOptions) {
}

return {
label: bundle.filePath,
label: path.relative(options.projectRoot, bundle.filePath),
weight: bundle.stats.size,
groups: generateGroups(dirMap),
};
Expand Down

0 comments on commit 957523f

Please sign in to comment.