From 737f6cfce0cd89c2ee487b9b2e48f03624dc630b Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Thu, 26 Apr 2018 11:26:42 -0700 Subject: [PATCH] Set babelrc true (#4215) --- server/build/webpack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/build/webpack.js b/server/build/webpack.js index d5c0971c..f8343ce4 100644 --- a/server/build/webpack.js +++ b/server/build/webpack.js @@ -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 }