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