mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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 }) {
|
||||
const options = _.defaults(
|
||||
{},
|
||||
{
|
||||
cacheDirectory: !!this.options.dev
|
||||
},
|
||||
this.options.build.babel,
|
||||
{
|
||||
babelrc: false
|
||||
babelrc: false,
|
||||
cacheDirectory: !!this.options.dev
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user