Upload SourceMap to sentry via sentry-cli for nextjs project

I want to upload Source map file for my nextjs project to sentry via sentry-cli

I am using serverless config in nextjs,

next.config.js

const withCSS = require("@zeit/next-css");
const { parsed: localEnv } = require("dotenv").config();
const webpack = require("webpack");
const withSourceMaps = require("@zeit/next-source-maps")();
module.exports = withSourceMaps(
  withCSS({
    target: "serverless",
    webpack(config, { buildId }) {
      config.plugins.push(
        new webpack.DefinePlugin({
          "process.env.SENTRY_RELEASE": JSON.stringify(buildId),
        }),
      );
      config.plugins.push(new webpack.EnvironmentPlugin(localEnv));
      return config;
    },
  }),
);

and I am using the command to build and upload source map,
next build
sentry-cli releases files 0.0.3 upload-sourcemaps .next/

After above command, source map are uploaded but they are not mapped with the issues on
dashboard.