Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stefanhayden/ca36754fbfef439595cf88400e367879 to your computer and use it in GitHub Desktop.
Save stefanhayden/ca36754fbfef439595cf88400e367879 to your computer and use it in GitHub Desktop.
webpack-bundle-analyzer with no labels
function removeLabel (obj) {
if (obj.label) {
obj.label = "";
}
if (obj.length > 0) {
obj.forEach(removeLabel)
}
if (obj.groups && obj.groups.length > 0) {
obj.groups.forEach(removeLabel)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment