NativeScript / NativeScript/nativescript-cli

feat: bundler option in config to define desired bundler

Aperta
#5,836 0 commenti 3 reazioni 1 assegnatario Vedi su GitHub

@NathanWalker ci sta già lavorando.

Dal 20/3/2025.

feature in progress
Lingua principale
JavaScript
Stelle
1.1k
Fork
204
Merge medio
1g 9h
PR unite (30g)
8

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.