Skip to content

Commit

Permalink
docs(plugin-legacy): remove regenerator-runtime note (#8007)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored May 4, 2022
1 parent 70f032f commit 834efe9
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions packages/plugin-legacy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 834efe9

Please sign in to comment.