Skip to content

vitePlugins options at serveWithVite #27951

@aasereb7

Description

@aasereb7

Command

serve

Description

Hi! I'm trying to customize my serve builder and stuck with trouble - right now there's no way to pass some plugin to Vite dev-server

Is there a reason for this approach or there were just no reason to implement feature like that?

Describe the solution you'd like

Solution might be quite simple - give user ability to pass vitePlugins option to extensions argument of serveWithVite function near current buildPlugins option, then this arg might be passed to setupServer func, and plugins section finally

Also, from my point of view, it would be really great to have a chance to do all this from angular.json config file

I can try my best and create PR on that if needed

Is there any chance for this to appear in angular?

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions