Skip to content

Clarify experimental status of Vite #4067

@RareScrap

Description

@RareScrap

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem description

There's two main problems that mislead a developer:

  1. Interactive mode of npx create-electron-app@latest hides the fact that vite templates are not production ready
  2. https://www.electronforge.io/#creating-a-new-app hide it ether:

The only places where it's clarified (this and this) are much less reachable than ones described above. So this is going to cause a developer to waste time before he find out (accidentally?) unpleasant truth about vite experimental status in Electron Forge.

Proposed solution

Two things shall be done:

  1. Add a note for the bundler chooser:
$ npx create-electron-app@latest del2
? Select a bundler
  None
❯ Vite (experimental)
  webpack
  1. Duplicate the disclaimer from the page https://www.electronforge.io/templates/vite to https://www.electronforge.io/#creating-a-new-app

Alternatives considered

None exists

Additional information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions