NativeScript / NativeScript/nativescript-cli

[Feature] Make CLI handle updating webpack configs

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

還沒有人認領這個 Issue。

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

描述

Is your feature request related to a problem? Please describe.
When I upgraded to a new version of dev-Webpack; I almost missed the message about
using "./node_modules/.bin/update-ns-webpack --configs" to update my config file... It scrolled right off the screen.

Describe the solution you'd like
tns webpack clean which would reset the config files...

possibly in addition: tns webpack update which would install @latest of the dev-webpack

Describe alternatives you've considered
None, the idea is to make the cli handle it... 😀

Additional context
Shouldn't have to deal with other tool; the CLI should handle it...

貢獻指南

開啟貢獻指南

從這裡開始

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

研究方向

首先找出 tns webpack 的 CLI 處理邏輯,以及現有的 update-ns-webpack --configs 工作流程。確認 clean 是否應重設設定檔,以及 update 是否應安裝最新的 dev-webpack;當受支援的 CLI 命令取代個別工具,且不失去預期的設定更新行為時,即表示完成。

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

評估

技術堆疊
javascript, webpack
領域
build-system, cli
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

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

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