@probara/webpack-plugin weekly downloads statistics
By probara · npm · Webpack plugins
Probara webpack plugin: gives the emitted JavaScript files a debug ID and the release, and uploads their source maps to Probara error monitoring after the build.
@probara/webpack-plugin has 462 recorded weekly downloads on npm, a change of +10.0% over the past 7 days, ranking #2281 of 3,247 tracked listings.
About @probara/webpack-plugin
@probara/webpack-plugin
The webpack plugin of Probara error monitoring. After each build it gives every emitted JavaScript
file with a source map a debug ID and the release, and uploads those maps to the project, so the
errors @probara/browser and @probara/node send show their frames in the original source.
It does what probara sourcemaps inject and probara sourcemaps upload of
@probara/cli
do, with the same debug IDs, the same token and the same variables.
Install
npm install --save-dev @probara/webpack-plugin
Use
const { probaraWebpackPlugin } = require('@probara/webpack-plugin');
module.exports = {
mode: 'production',
devtool: 'hidden-source-map',
plugins: [probaraWebpackPlugin()],
};
Set devtool to 'source-map' or 'hidden-source-map': a chunk without a map file is left alone.
The plugin works on the files webpack wrote, after it emitted them.
In CI, set PROBARA_API_TOKEN, PROBARA_PROJECT and PROBARA_RELEASE, and give the SDK the same
release. The token is an app token with the Error monitoring scope, created from the
Probara CLI card in Integrations
(get a token):
import * as Probara from '@probara/browser';
Probara.init({ dsn: 'https://<public key>@<probara api host>/', release: 'shop@1.4.2' });
What it does
- Each emitted
.js,.mjsor.cjsfile with a map gets a snippet that registers its debug ID at runtime, a//# debugId=comment, and"debug_id"in its map, whose mappings shift with the snippet. A file that already has a debug ID is left alone; the same file always gets the same one. - The maps are then uploaded for the release, gzipped, four at a time, with retries on 429 and 5xx.
- Without a token, a project or a release, the plugin warns, still injects the debug IDs, and the
build succeeds: nothing is uploaded.
PROBARA_ENABLED=falseturns the upload off too. - A map Probara refuses fails the build, unless
errorHandlertakes the error.
Options
| Option | Default | What it does |
|---|---|---|
apiToken | PROBARA_API_TOKEN | The API token the maps are uploaded with. Prefer the variable: a config file gets committed. |
project | PROBARA_PROJECT | The code of the project the maps belong to, such as SHOP. |
baseUrl | PROBARA_BASE_URL, then https://app.probara.net | The Probara URL. |
release.name | PROBARA_RELEASE | The release the maps are uploaded for: the one the SDK sends (its release option). Without one, nothing is uploaded. |
release.inject | true | Sets globalThis.PROBARA_RELEASE = { id: <release> } in every emitted file with a map. false leaves it out and still uploads for the release. |
sourcemaps.disable | false | true only injects the debug IDs, and uploads nothing. |
sourcemaps.urlPrefix | ~/ | What comes before the path of each file from the output directory in the URL it is served at; ~/ stands for any scheme and host. |
sourcemaps.filesToDeleteAfterUpload | none | Globs, from the current directory, of the files to delete once the upload step ends, uploaded or not, such as dist/**/*.map, so no map is deployed. |
disable | false | true turns the plugin off: the build output is left as it is. |
debug | false | Logs each uploaded map and each deleted file. |
silent | false | Logs nothing. |
errorHandler | throws | Gets the error of a file that could not be injected or a map that could not be uploaded. Without it, the build fails. |
License
Apache-2.0
Description from the npm listing.
- probara
- error-monitoring
- source-maps
- debug-id
- webpack
- webpack-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm Webpack plugins plugins
All 20 @probara/webpack-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@probara/webpack-plugin. First seen Dec 1, 2026; last successful collection Dec 6, 2026. See the methodology.