Application is rebuilt when passing --env.uglify for a first time

未關閉
#4,362 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
28/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
ios, javascript

研究方向

先重現 issue 中的兩個命令:tns run ios --bundle,接著是 tns run ios --bundle --env.uglify,並比較建置日誌。閱讀 NativeScript CLI 的建置與打包進入點,以判斷變更 --env.uglify 是否應該使現有建置失效;當行為和預期結果已完成文件化,並由回歸測試涵蓋時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

bug

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.2.0
  • Android Runtime: 5.2.0
  • iOS Runtime: 5.2.0

Describe the bug
when you run project with: tns run ios --bundle and then with: tns run ios --bundle --env.uglify, you will see that the project will pass through building process.

To Reproduce

  1. tns create appNG --ng
  2. tns run ios --bundle
  3. stop the process
  4. tns run ios --bundle --env.uglify
    you will see : Building project..., Project successfully built. in console logs

Expected behavior
not sure this behavior is correct

主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NativeScript/nativescript-cli 的其他 Issue

查看 NativeScript/nativescript-cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。