Skip to content

Commit

Permalink
GITBOOK-192: Mark Vite support as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored and gitbook-bot committed Sep 21, 2024
1 parent fe28804 commit af58e3e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@

## Built-in Templates <a href="#templates" id="templates"></a>

* [Vite](templates/vite.md)
* [Vite + TypeScript](templates/vite-+-typescript.md)
* [Webpack](templates/webpack-template.md)
* [Webpack + Typescript](templates/typescript-+-webpack-template.md)
* [Vite](templates/vite.md)
* [Vite + TypeScript](templates/vite-+-typescript.md)

## Guides

Expand Down
6 changes: 6 additions & 0 deletions config/plugins/vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ description: Transform and bundle code for your Electron Forge app with Vite.

# Vite Plugin

{% hint style="info" %}
As of Electron Forge v7.5.0, Vite support for Electron Forge has been marked as **experimental** in order to reflect its stage in development and to provide maintainers with the ability to release fixes and improvements rapidly. Future minor releases may contain breaking changes, but migration steps will be listed in release notes.\
\
For more context, see the Electron Forge [v7.5.0 release notes](https://github.com/electron/forge/releases/tag/v7.5.0).
{% endhint %}

This plugin makes it easy to set up standard Vite tooling to compile both your main process code and your renderer process code.

## Installation
Expand Down
6 changes: 6 additions & 0 deletions templates/vite-+-typescript.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Vite + TypeScript

{% hint style="info" %}
As of Electron Forge v7.5.0, Vite support for Electron Forge has been marked as **experimental** in order to reflect its stage in development and to provide maintainers with the ability to release fixes and improvements rapidly. Future minor releases may contain breaking changes, but migration steps will be listed in release notes.\
\
For more context, see the Electron Forge [v7.5.0 release notes](https://github.com/electron/forge/releases/tag/v7.5.0).
{% endhint %}

To get you up and running as fast as possible with [TypeScript](https://www.typescriptlang.org/) and [Vite](https://vitejs.dev/), we provide a template that makes use of the [`@electron-forge/plugin-vite` module](../config/plugins/vite.md) with sane TypeScript configuration defaults.

```bash
Expand Down
6 changes: 6 additions & 0 deletions templates/vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ description: Create a new Electron app with Vite.

# Vite

{% hint style="info" %}
As of Electron Forge v7.5.0, Vite support for Electron Forge has been marked as **experimental** in order to reflect its stage in development and to provide maintainers with the ability to release fixes and improvements rapidly. Future minor releases may contain breaking changes, but migration steps will be listed in release notes.\
\
For more context, see the Electron Forge [v7.5.0 release notes](https://github.com/electron/forge/releases/tag/v7.5.0).
{% endhint %}

To get you up and running as fast as possible with [Vite](https://vitejs.dev/), we provide a template that makes use of the [`@electron-forge/plugin-vite` module](../config/plugins/vite.md), plus some preset Vite configuration options.

```bash
Expand Down

0 comments on commit af58e3e

Please sign in to comment.