Add --enable-source-map support for WebAssembly module
未关闭
还没有人认领这个 Issue。
feature request
never-stale
wasm
- 主要语言
- JavaScript
- 星标
- 122k
- 派生
- 37.4k
- 平均合并
- 4 天 3 小时
- 30 天内合并 PR
- 272
描述
What is the problem this feature will solve?
I will allow developers to get better backtrace information from wasm module that are built with source maps.
What is the feature you are proposing to solve the problem?
Reading of the sourceMappingURL section from any WebAssembly modules that get loaded.
What alternatives have you considered?
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪 Node 如何加载 WebAssembly 模块并处理 source map,然后确定可能读取 sourceMappingURL 部分的路径。当启用 --enable-source-map 时,带有 source map 的模块能够提供改进的回溯信息,并且对加载此类模块有相关覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- wasm
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100