electron / electron/forge

Clarify experimental status of Vite

Open
#4,067 1 comment 16 reactions 1 assignee Claimed by @erickzhao View on GitHub
Dominant language
TypeScript
Stars
7.1k
Forks
641
Avg merge
3d 1h
Merged PRs (30d)
30

Description

### Pre-flight checklist

- [x] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [x] 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](https://www.electronforge.io/templates/vite) and [this](https://www.electronforge.io/templates/vite-+-typescript)) 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
```
2) 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.