Skip to content

Commit

Permalink
Add note about rollup@2 in Vite
Browse files Browse the repository at this point in the history
Closes GH-2180.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
Ryuujo Zhang authored Nov 24, 2022
1 parent 2635caf commit 38c2d46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docs/getting-started.server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,11 @@ If you use more modern JavaScript features than what your users support,
[configure Vite’s
`build.target`](https://vitejs.dev/guide/build.html#browser-compatibility).

<Note type="info">
**Note**: Vite 3 requires the older `rollup@2`.
Make sure `rollup@3` is not installed.
</Note>

See also [¶ Rollup][rollup], which is used in Vite, and see [¶ Vue][vue], if
you’re using that, for more info.

Expand Down

1 comment on commit 38c2d46

@vercel
Copy link

@vercel vercel bot commented on 38c2d46 Nov 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mdx – ./

mdx-mdx.vercel.app
mdx-git-main-mdx.vercel.app
v2.mdxjs.com
mdxjs.com

Please sign in to comment.