Symlinks expand paths of node_modules
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, webpack
- 领域
- devtools
调研方向
首先,使用通过 lerna、@microsoft/rush 或 npm link 链接的 node_modules 包,复现 bundle analyzer 的输出。跟踪链接模块路径在哪些位置被展开,并查看关于过滤器或别名的现有讨论。完成标准是 treemap 不再显示多余的已解析路径,同时保留有用的模块位置。
由索引模型根据 Issue 内容生成。
描述
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:

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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
webpack/webpack-bundle-analyzer 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
webpack/webpack-bundle-analyzer#737 · 5 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
webpack/webpack-bundle-analyzer#689 · 11 条评论 ·
-
[bug] `TypeError: Cannot read properties of undefined (reading 'filter')` when passing stats object未关闭status: Needs triage
难度 3/5 1-2 天 新手友好度 35/100
webpack/webpack-bundle-analyzer#669 · 6 条评论 · 3 个 reaction ·
-
[Nice to Have] plugin should use webpack InfrastructureLogger and output report to compiler.outputFileSystem可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
webpack/webpack-bundle-analyzer#476 · 1 条评论 ·
-
Errors when using with the webpack dev server 4可能已有人在做 @Br1an67 于 235 天前认领。 未关闭flag: Community help wanted type: Bug
难度 4/5 3-5 天 新手友好度 35/100
webpack/webpack-bundle-analyzer#471 · 18 条评论 · 3 个 reaction ·
查看 webpack/webpack-bundle-analyzer 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
feimacode/open-design-agent-kit#66 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
xojs/eslint-config-xo#134 ·
-
FEATURE REQUEST
难度 2/5 1-3 小时 新手友好度 68/100
linuxmint/cinnamon-spices-extensions#1193 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 80/100
huggingface/transformers.js#1839 ·
维护者通常 1 天内回复