Skip to content

Commit 834efe9

Browse files
authored
docs(plugin-legacy): remove regenerator-runtime note (#8007)
1 parent 70f032f commit 834efe9

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

packages/plugin-legacy/README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,6 @@ export default {
2727
}
2828
```
2929

30-
When targeting IE11, you also need `regenerator-runtime`:
31-
32-
```js
33-
// vite.config.js
34-
import legacy from '@vitejs/plugin-legacy'
35-
36-
export default {
37-
plugins: [
38-
legacy({
39-
targets: ['ie >= 11'],
40-
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
41-
})
42-
]
43-
}
44-
```
45-
4630
## Options
4731

4832
### `targets`

0 commit comments

Comments
 (0)