NativeScript / NativeScript/nativescript-cli
Ensure same build result for debug and release builds
未關閉
還沒有人認領這個 Issue。
build
feature
run
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Is your feature request related to a problem? Please describe.
Currently when --env.snapshot is passed for debug builds, NativeScript CLI shows an warning and starts webpack compilation without --env.snapshot option. This led to the problem that different build result is produced when application is built in release and debug mode.
Describe the solution you'd like
We need a common, unified way so the application can produce the same build result regardless of the build mode (release or debug)
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,追蹤 NativeScript CLI 如何處理偵錯建置中的 --env.snapshot,以及它分別在哪裡為偵錯和發行呼叫 webpack。比較這兩條路徑,並在兩種建置模式都產生相同的應用程式建置結果且不再出現目前的警告時,將這項工作定義為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, webpack
- 領域
- build-system, cli
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100