Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Symlinks expand paths of node_modules

未关闭
#64 13 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript, webpack
领域
devtools

调研方向

首先,使用通过 lerna、@microsoft/rush 或 npm link 链接的 node_modules 包,复现 bundle analyzer 的输出。跟踪链接模块路径在哪些位置被展开,并查看关于过滤器或别名的现有讨论。完成标准是 treemap 不再显示多余的已解析路径,同时保留有用的模块位置。

由索引模型根据 Issue 内容生成。

描述

Status: Upstream action required type: Feature
Issue description

When this is used in an environment where node_modules packages are symlinked (via lerna, @microsoft/rush, npm link) the locations to npm modules are expanded such that it makes things hard to parse. Basically half of the tree map is dedicated to resolving the node_modules folder:

image

Would there be any way to fix this such that I can provide "filters" that would alias a folder to say blank string, to remove the extraneous path? Any suggestions, other than to avoid symlinking?

主要语言
JavaScript
星标
12.7k
派生
518
平均合并
10 天 13 小时
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

webpack/webpack-bundle-analyzer 的其他 Issue

查看 webpack/webpack-bundle-analyzer 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。