1
0
Fork 0
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:
Tim Neutkens 2018-04-26 11:26:42 -07:00 committed by GitHub
parent 2457df5d06
commit 737f6cfce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}