Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@NathanWalker

Description

@NathanWalker
Issue body actions

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

vallemar and dyazincahyadyazincahya

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.