NativeScript / NativeScript/nativescript-cli
feat: bundler option in config to define desired bundler
Abierto
@NathanWalker ya está trabajando en esto.
Desde el 20/3/2025.
feature
in progress
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.1k
- Forks
- 204
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 8
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.