mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
refactor: move babel defaults value to proper place
This commit is contained in:
parent
b138ffef8e
commit
97a6f46507
@ -179,12 +179,10 @@ module.exports = class Builder {
|
|||||||
getBabelOptions({ isServer }) {
|
getBabelOptions({ isServer }) {
|
||||||
const options = _.defaults(
|
const options = _.defaults(
|
||||||
{},
|
{},
|
||||||
{
|
|
||||||
cacheDirectory: !!this.options.dev
|
|
||||||
},
|
|
||||||
this.options.build.babel,
|
this.options.build.babel,
|
||||||
{
|
{
|
||||||
babelrc: false
|
babelrc: false,
|
||||||
|
cacheDirectory: !!this.options.dev
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user