But its only a dev issue (the bug does not show up if using yarn build instead of yarn dev)
yarn build
yarn dev