NativeScript / NativeScript/nativescript-cli
feat: bundler option in config to define desired bundler
未关闭
@NathanWalker 已经在做这个了。
开始于 2025年3月20日。
feature
in progress
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
Is your feature request related to a problem? Please describe.
You should be able to switch between webpack/rspack/vite by setting a config option.
Describe the solution you'd like
nativescript.config can handle this via:
bundler: 'webpack' | 'rspack' | 'vite' (default webpack)
This option would be used within cli to configure the compiler-service.
We could avoid this config option altogether by looking for specific config file however this option allows more versatility in that it's possible where feature parity does not match in some cases, a user could use rspack during local dev yet use webpack for production build if desired.
Describe alternatives you've considered
No response
Anything else?
No response
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- I agree to follow this project's Code of Conduct
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。