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 摘要。