Skip to content

Support config/vite.rb for advanced configurationΒ #162

@ElMassimo

Description

@ElMassimo

Background πŸ“œ

Currently, there are two main ways to configure Vite Ruby:

Feature Request ✨

Adding support for an optional config/vite.rb file that is called when resolving the configuration would make it easier to configure ViteRuby.env as needed regardless of how Vite Ruby is executed (rake task, binstub, or bundle exec).

Documentation πŸ“–

Since any configuration in this ruby file can not be read when invoking the node vite executable directly, this would be regarded an advanced feature, and config/vite.rb would not be added during installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions