mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: babelrc cannot be set to true
This commit is contained in:
parent
e514ce326c
commit
4b46058994
@ -180,10 +180,12 @@ module.exports = class Builder {
|
||||
const options = _.defaults(
|
||||
{},
|
||||
{
|
||||
babelrc: false,
|
||||
cacheDirectory: !!this.options.dev
|
||||
},
|
||||
this.options.build.babel
|
||||
this.options.build.babel,
|
||||
{
|
||||
babelrc: false
|
||||
}
|
||||
)
|
||||
|
||||
if (typeof options.presets === 'function') {
|
||||
|
Loading…
Reference in New Issue
Block a user