Skip to content

Commit 38c2d46

Browse files
author
Ryuujo Zhang
authoredNov 24, 2022
Add note about rollup@2 in Vite
Closes GH-2180. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 2635caf commit 38c2d46

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎docs/docs/getting-started.server.mdx

+5
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,11 @@ If you use more modern JavaScript features than what your users support,
346346
[configure Vite’s
347347
`build.target`](https://vitejs.dev/guide/build.html#browser-compatibility).
348348

349+
<Note type="info">
350+
**Note**: Vite 3 requires the older `rollup@2`.
351+
Make sure `rollup@3` is not installed.
352+
</Note>
353+
349354
See also [¶ Rollup][rollup], which is used in Vite, and see [¶ Vue][vue], if
350355
you’re using that, for more info.
351356

1 commit comments

Comments
 (1)

vercel[bot] commented on Nov 24, 2022

@vercel[bot]

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.