Unable to upload sourcemaps

I have a react app, trying to upload artifacts using webpack, whenever I run yarn build a new release is created on sentry, but the artifacts are not uploaded.