Skip to content

Commit

Permalink
docs: Explicitly note preset-vite in alias prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian authored Aug 7, 2024
1 parent 58a8669 commit a991511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/guide/v10/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ To transpile JSX, you need a Babel plugin that converts it to valid JavaScript c

At some point, you'll probably want to make use of the vast React ecosystem. Libraries and Components originally written for React work seamlessly with our compatibility layer. To make use of it, we need to point all `react` and `react-dom` imports to Preact. This step is called _aliasing._

> **Note:** If you're using Vite, Preact CLI, or WMR, these aliases are automatically handled for you by default.
> **Note:** If you're using Vite (via `@preact/preset-vite`), Preact CLI, or WMR, these aliases are automatically handled for you by default.
#### Aliasing in Webpack

Expand Down

0 comments on commit a991511

Please sign in to comment.