Skip to content

Commit

Permalink
docs: update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Oct 30, 2023
1 parent 5f6b754 commit 990c3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ This change prevents Vite from swallowing and controlling OS-specific shortcuts,

### Update `experimentalDecorators` and `useDefineForClassFields` TypeScript behaviour

Vite 5 uses esbuild 0.18, which changes how `experimentalDecorators` and `useDefineForClassFields` are handled.
Vite 5 uses esbuild 0.19 and removes the compatibility layer for esbuild 0.18, which changes how `experimentalDecorators` and `useDefineForClassFields` are handled.

- **`experimentalDecorators` is not enabled by default**

Expand Down

0 comments on commit 990c3d6

Please sign in to comment.