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:
Daniel Roe 2021-06-16 12:22:27 +01:00 committed by GitHub
parent 5c67408191
commit 2c5ceab003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
*