Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero-config CLI #13

Open
cyco130 opened this issue Jun 23, 2022 · 0 comments
Open

Zero-config CLI #13

cyco130 opened this issue Jun 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@cyco130
Copy link
Member

cyco130 commented Jun 23, 2022

A Vite-based, batteries included zero-config CLI solution would be great for quick onboarding. vavite can already handle most of the heavy lifting so it shouldn't be too hard. Possible features in no particular order:

  • Zero-config by default: It should be possible to start or build an application with no config. This requires providing default entry points for all supported platforms.
  • Configurable: User should be able to configure anything into any depth. In particular they should be able to:
    • Provide a vite.config.js
    • Set a custom platform-specific entry point
    • Modify bundling options (if bundling is required)
  • Static assets: Most deployment targets have special handling for static assets so it should be handled specially by the CLI too. I'm thinking of three modes:
    • No static assets.
    • Static assets served verbatim and not processed by Vite. They either don't require processing or processed via another tool.
    • Static assets processed by Vite (in dev sources are compiled on the fly)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant