From 834efe94fe2c26fcdeabcc34a667dcc6a52326ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Thu, 5 May 2022 05:30:17 +0900 Subject: [PATCH] docs(plugin-legacy): remove regenerator-runtime note (#8007) --- packages/plugin-legacy/README.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/packages/plugin-legacy/README.md b/packages/plugin-legacy/README.md index 3c9fe67e107f7f..fc4167f4f1010f 100644 --- a/packages/plugin-legacy/README.md +++ b/packages/plugin-legacy/README.md @@ -27,22 +27,6 @@ export default { } ``` -When targeting IE11, you also need `regenerator-runtime`: - -```js -// vite.config.js -import legacy from '@vitejs/plugin-legacy' - -export default { - plugins: [ - legacy({ - targets: ['ie >= 11'], - additionalLegacyPolyfills: ['regenerator-runtime/runtime'] - }) - ] -} -``` - ## Options ### `targets`