From d688ebe24c5894bc9cc9f9b96c49ab7dc3839ea2 Mon Sep 17 00:00:00 2001 From: patak Date: Sat, 15 May 2021 19:16:50 +0200 Subject: [PATCH] Update docs/config/index.md --- docs/config/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/index.md b/docs/config/index.md index 7909951e8a9988..2faf013789714e 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -493,7 +493,7 @@ export default async ({ command, mode }) => { import 'vite/dynamic-import-polyfill' ``` - When using [`@vite-js/plugin-legacy`](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy), the plugin sets this option to `true` automatically. + When using [`@vitejs/plugin-legacy`](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy), the plugin sets this option to `true` automatically. Note: the polyfill does **not** apply to [Library Mode](/guide/build#library-mode). If you need to support browsers without native dynamic import, you should probably avoid using it in your library.