Skip to content

Commit

Permalink
Update docs/config/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev authored May 15, 2021
1 parent 35f3305 commit d688ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit d688ebe

Please sign in to comment.