mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 21:58:19 +00:00
fix(kit): add build.babel.plugins
default option and docs (#224)
* fix(kit): add `build.babel.plugins` default option and docs * refactor: reorder options
This commit is contained in:
parent
5c67408191
commit
2c5ceab003
@ -329,6 +329,14 @@ export default {
|
||||
babel: {
|
||||
configFile: false,
|
||||
babelrc: false,
|
||||
/**
|
||||
* An array of Babel plugins to load, or a function that takes webpack context and returns
|
||||
* an array of Babel plugins.
|
||||
*
|
||||
* For more information see [Babel plugins options](https://babeljs.io/docs/en/options#plugins)
|
||||
* and [babel-loader options](https://github.com/babel/babel-loader#options).
|
||||
*/
|
||||
plugins: [],
|
||||
/**
|
||||
* The Babel presets to be applied.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user