NativeScript / NativeScript/android
Provide support for more source map types in webpack
未关闭
还没有人认领这个 Issue。
- 主要语言
- C++
- 星标
- 563
- 派生
- 144
- 平均合并
- 10 小时 46 分钟
- 30 天内合并 PR
- 14
描述
Currently running a webpacked application on android doesn't work if using source maps configuration different than "inline-source-map" or "none". It would be good for developers to be able to use other source map types as described in here: https://webpack.js.org/configuration/devtool/ . To provide this feature it's possible that changes should be made in the js_parser.js logic which is part of the static binding generator process.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读静态绑定生成器流程中的 js_parser.js,并跟踪 webpack 源映射在 Android 中的处理方式。确认当前哪些 devtool 类型会失败,然后验证除 "inline-source-map" 和 "none" 之外的源映射配置能否在 webpack 打包的 Android 应用中正常工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- webpack
- 领域
- build-system, mobile-dev
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100