NativeScript / NativeScript/nativescript-cli
sourcemap service improvements
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
- If you disable sourcemaps with webpack then the cli will still translate any file if the sourcemap is present.
the cli sourcemap service should be disable when env.sourcemap is false. I found myself in the need to see the actual source files from an error. I simply couldnt, had to modify the cli code to disable the sourcemap entirely - when translating source maps the cli always adds "app" at the start as file name. This is wrong. It should only do that when it is an actual app file.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 CLI sourcemap 服務著手,檢查 env.sourcemap 和已翻譯檔名的處理方式。在停用 sourcemap 以及處理非應用程式檔案時驗證行為;完成標準是:停用 sourcemap 時服務不會進行翻譯,且只有在適當的情況下才會加上 "app" 前綴。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100