Unverified Commit d2160370 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Set cwd on babel-loader (#5127)

Fixes #5125

I'm not sure if this is a bug in babel-loader / babel-core or not. But this will at least temporary fix it till I hear back from @loganfsmyth 🙏
parent fd67f22b
......@@ -113,7 +113,7 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i
const defaultLoaders = {
babel: {
loader: 'next-babel-loader',
options: {dev, isServer}
options: {dev, isServer, cwd: dir}
},
hotSelfAccept: {
loader: 'hot-self-accept-loader',
......
......@@ -75,7 +75,7 @@
"ansi-html": "0.0.7",
"autodll-webpack-plugin": "0.4.2",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "8.0.0",
"babel-loader": "8.0.2",
"babel-plugin-react-require": "3.0.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.15",
"case-sensitive-paths-webpack-plugin": "2.1.2",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment