Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bundler option in config to define desired bundler #5836

Open
2 tasks done
NathanWalker opened this issue Mar 20, 2025 · 0 comments
Open
2 tasks done

feat: bundler option in config to define desired bundler #5836

NathanWalker opened this issue Mar 20, 2025 · 0 comments
Assignees
Milestone

Comments

@NathanWalker
Copy link
Contributor

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

@NathanWalker NathanWalker added feature-pending-triage A new feature request pending triage to confirm validity. feature in progress and removed feature-pending-triage A new feature request pending triage to confirm validity. labels Mar 20, 2025
@NathanWalker NathanWalker self-assigned this Mar 20, 2025
@NathanWalker NathanWalker added this to the 9.0 milestone Mar 20, 2025
NathanWalker added a commit that referenced this issue Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant