Skip to content

webpack plugin did not upload sourcemap when output.filename include contain a query #441

Closed
@Jokcy

Description

@Jokcy

Environment

What version are you running? Etc.

"@sentry/webpack-plugin": "^2.10.0",
"@sentry/browser": "7.80.1",
"@sentry/tracing": "7.80.1",

Steps to Reproduce

  1. use webpack plugin to upload sourcemap
  2. in output.filename add a query:
filename: `[name]${
                    isDev ? '' : '.[contenthash]'
                }.js?${APP_VERSION_QUERY_NAME}=${APP_VERSION}`,
  1. build use webpack, sentry did not upload sourcemap

Expected Result

sentry upload sourcemap

Actual Result

sentry did not upload sourcemap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions