Skip to content

Commit

Permalink
add corejs option to configuration doc
Browse files Browse the repository at this point in the history
option was introduced ins nuxt/nuxt#7785
  • Loading branch information
farnabaz committed Jul 27, 2020
1 parent 363c6b1 commit 46bc47a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions en/api/configuration-build.md
Expand Up @@ -34,6 +34,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 46bc47a

Please sign in to comment.