8000 support for separate server/client specific vite configurations? · Issue #19610 · nuxt/nuxt · GitHub
[go: up one dir, main page]

Skip to content
support for separate server/client specific vite configurations? #19610
@daniellacosse

Description

@daniellacosse

Describe the feature

Thanks to the Nuxt3 team for making such an incredible framework! Admittedly I have a very narrow use case - I'm using the amazingly awesome rollup-obfuscator and to my surprise it actually mostly works - but certain features break the compilation process.

For example, if I use selfDefending, during generation the prerender step hangs forever because I assume we're using vite to prepare some code that then gets further modified in that step - this further modification triggering the self-defense applied, stalling out the process. Super cool to see the obfuscation working as intended, but I really only want to use the obfuscator in the final compilation step anyway.

TL;DR - Having a place to specify a client-specific vite config would I think solve this? And may have other applications.

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module? (I'm not sure 😅)

Final checks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0