mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Set babelrc true (#4215)
This commit is contained in:
parent
2457df5d06
commit
737f6cfce0
|
@ -48,7 +48,7 @@ function babelConfig (dir, {isServer, dev}) {
|
|||
console.log(`> Using external babel configuration`)
|
||||
console.log(`> Location: "${externalBabelConfig.babelrc}"`)
|
||||
}
|
||||
// By default babel-loader will look for babelrc, so no need to set it to true
|
||||
mainBabelOptions.babelrc = true
|
||||
} else {
|
||||
mainBabelOptions.babelrc = false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue