Skip to content

Commit

Permalink
docs: add corejs option to configuration build docs
Browse files Browse the repository at this point in the history
The option introduced in nuxt/nuxt#7785
  • Loading branch information
farnabaz committed Jul 27, 2020
1 parent dea10fe commit 8884b23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/en/api/configuration-build.md
Expand Up @@ -37,6 +37,12 @@ export default {

</div>

## corejs
> As of Nuxt@2.14 Nuxt automatically detects the current version of `core-js` in your project, also you can specify which version you want to use.
- Type: `number` | `string` (Valid values are `'auto'`, `2` and `3`)
- Default: `'auto'`

## babel

> Customize Babel configuration for JavaScript and Vue files. `.babelrc` is ignored by default.
Expand Down

0 comments on commit 8884b23

Please sign in to comment.