Title: feat: bundler option in config to define desired bundler · Issue #5836 · NativeScript/nativescript-cli · GitHub
Open Graph Title: feat: bundler option in config to define desired bundler · Issue #5836 · NativeScript/nativescript-cli
X Title: feat: bundler option in config to define desired bundler · Issue #5836 · NativeScript/nativescript-cli
Description: 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: 'webpa...
Open Graph Description: 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.con...
X Description: 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...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/5836
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: bundler option in config to define desired bundler","articleBody":"### Is your feature request related to a problem? Please describe.\n\nYou should be able to switch between webpack/rspack/vite by setting a config option.\n\n### Describe the solution you'd like\n\n`nativescript.config` can handle this via:\n\n```ts\nbundler: 'webpack' | 'rspack' | 'vite' (default webpack)\n```\n\nThis option would be used within cli to configure the compiler-service.\n\nWe 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.\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Anything else?\n\n_No response_\n\n### Please accept these terms\n\n- [x] I have searched the [existing issues](https://github.com/NativeScript/nativescript-cli/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/NathanWalker","@type":"Person","name":"NathanWalker"},"datePublished":"2025-03-20T01:41:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5836/nativescript-cli/issues/5836"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5058cccc-62cc-4b42-ef98-080fa81baf0d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C694:C9EB4:E4AC2C:128DA33:696B0622 |
| html-safe-nonce | 8840b6a5a0a9d145f0c8a443fc30ba30cb1a22d6afc853c3771adc7949e7fd82 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjk0OkM5RUI0OkU0QUMyQzoxMjhEQTMzOjY5NkIwNjIyIiwidmlzaXRvcl9pZCI6IjYxNTMyODIwNTQ4MzgyMjQ0MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5048251f56007af1af2f904dfad299cfe03626939143af446d59757c5b89a7a4 |
| hovercard-subject-tag | issue:2933698414 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/5836/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8fa59b9dce95408e7d652c1e37c24cb812c45f3b20dc638498aac4449b5cf164/NativeScript/nativescript-cli/issues/5836 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8fa59b9dce95408e7d652c1e37c24cb812c45f3b20dc638498aac4449b5cf164/NativeScript/nativescript-cli/issues/5836 |
| og:image:alt | 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.con... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NathanWalker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width