Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow space-separated multiple url_prefix #158

Open
dhruvkelawala opened this issue May 30, 2023 · 0 comments
Open

Allow space-separated multiple url_prefix #158

dhruvkelawala opened this issue May 30, 2023 · 0 comments

Comments

@dhruvkelawala
Copy link

When we were using SentryWebpackPlugin(), we had the following code in include

 new SentryWebpackPlugin({
        authToken: process.env.SENTRY_AUTH_TOKEN,
        project: process.env.SENTRY_PROJECT,,
        org: "process.env.SENTRY_ORG,,
        release: process.env.npm_package_version,
        include: [
          {
            paths: ["./dist"],
            urlPrefix: "~/",
          },
          {
            paths: ["./sourcemaps"],
            urlPrefix: "~/sourcemaps",
          },
        ],
        debug: true,
        ignore: ["node_modules"],
        validate: true,
        cleanArtifacts: true,
      }),

However, this github action doesn't support multiple urlPrefix. We are working on an web-extension, so we cannot ship sourcemaps in dist as it increases the bundle size. So it would be great if we could pass url_prefix as space-separated string values corresponding to sourcemaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant