mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-18 14:41:25 +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(
|
const options = _.defaults(
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
babelrc: false,
|
|
||||||
cacheDirectory: !!this.options.dev
|
cacheDirectory: !!this.options.dev
|
||||||
},
|
},
|
||||||
this.options.build.babel
|
this.options.build.babel,
|
||||||
|
{
|
||||||
|
babelrc: false
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
if (typeof options.presets === 'function') {
|
if (typeof options.presets === 'function') {
|
||||||
|
Loading…
Reference in New Issue
Block a user