From 94f7f4715ef2d2512f5395d85e855155f0ad0a2a Mon Sep 17 00:00:00 2001 From: sapphi-red Date: Wed, 4 May 2022 08:41:23 +0900 Subject: [PATCH] docs(plugin-legacy): remove regenerator-runtime note --- 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`