mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
Merge pull request #2973 from aaronzzz/fix-babelrc-cannot-be-set-to-true
fix: babelrc cannot be set to true, fix #1776
This commit is contained in:
commit
b138ffef8e
@ -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