@browsonic/build-tools weekly downloads statistics
By browsonic · npm · Webpack plugins
Bundler plugins (Vite / Webpack / Rollup / esbuild) for uploading source maps to Browsonic. Apache-2.0.
@browsonic/build-tools has 81 recorded weekly downloads on npm, an increase of 710% over the past 30 days, ranking #2665 of 3,247 tracked listings.
About @browsonic/build-tools
@browsonic/build-tools
Bundler plugins that upload your build's source maps to Browsonic, so the dashboard can symbolicate that release's stack traces on demand.
Apache-2.0. Part of the Browsonic SDK monorepo.
Status (2026-07-28)
Read this before trusting the rest of the file.
- npm
latestfor this package is 1.4.0, and it matchesmain. Published 2026-09-05 (1.3.0 refuses to stamp a bundle thatindex.htmlpins with an SRI hash; 1.2.3 before it, 2026-09-02) together with its pinned dependency@browsonic/cli1.2.5. Everything below — Debug IDs above all — is available to anyone installing from npm. (1.2.0 was version-stamped but never published as a release of its own.) - The client/server part-name mismatch on the upload path is fixed in the published versions. These plugins delegate to
@browsonic/cli, which up to1.2.1posted the map under a multipart part namedsourcemapwhile browsonic-service'sPOST /v1/sourcemapsbindsfile— so every real upload from a plugin version older than this one was rejected with400.@browsonic/cli1.2.3 (the version 1.2.1 of this package pins) postsfile,docs/design/SOURCEMAP_PIPELINE.mddocuments that, and the part names are pinned by tests on both sides. The service also acceptssourcemapas a deprecated alias, so an already-installed older version works against a service carrying it. End-to-end upload against the live service is still UNVERIFIED (2026-07-28) — the contract now agrees on both sides and is test-pinned, but no one has run a real upload through it. Everything the plugins do locally — dist walk, release derivation, debugId stamping — is covered by tests and works. - Source-map upload and symbolication are plan-gated (
source_maps, Flyway V42): professional and enterprise only. Free and Starter tenants get402 Payment Requiredfrom/v1/sourcemapsand/v1/symbolicate.
Why
Browsonic uploads source maps via @browsonic/cli (browsonic upload-sourcemaps). The CLI is fine in CI scripts, but most teams already have a bundler — Vite, Webpack, Rollup, or esbuild — running. This package wraps the CLI as a bundler plugin so the upload happens as part of npm run build. No extra CI step, and the release is derived in the same process that produced the artefacts.
The plugins add nothing to your bundle at runtime: they only fire after the build is written to disk. The one exception is debugIdInjection: true, which deliberately appends a small snippet to each bundle — see Debug IDs. Source-map upload is configured to never break the build by default — a missing BROWSONIC_SOURCEMAP_TOKEN or a transient ingest 5xx logs a warning and the build continues.
Install
npm install --save-dev @browsonic/build-tools
This installs 1.2.1 today — see Status.
The bundler itself is a peer dependency — install whichever one your project uses (vite, webpack, rollup, esbuild); all four are declared optional. The plugin's import path determines which bundler hook it targets, so you only get the code for what you actually use.
Vite
// vite.config.ts
import { defineConfig } from "vite";
import browsonicSourceMaps from "@browsonic/build-tools/vite";
export default defineConfig({
build: { sourcemap: "hidden" }, // emit .map files without sourceMappingURL
plugins: [browsonicSourceMaps({ appKey: "web" })],
});
build.sourcemap: 'hidden' is the recommended setting: production assets do not advertise the source maps to end users, but the .map files are still written to disk where the plugin picks them up.
Webpack
// webpack.config.js
import { BrowsonicSourceMapsPlugin } from "@browsonic/build-tools/webpack";
export default {
devtool: "hidden-source-map",
plugins: [new BrowsonicSourceMapsPlugin({ appKey: "web" })],
};
devtool: 'hidden-source-map' strips the sourceMappingURL comment from the bundle so the maps stay private.
Rollup
// rollup.config.js
import browsonicSourceMaps from "@browsonic/build-tools/rollup";
export default {
output: { dir: "dist", sourcemap: "hidden" },
plugins: [browsonicSourceMaps({ appKey: "web" })],
};
esbuild
import { build } from "esbuild";
import browsonicSourceMaps from "@browsonic/build-tools/esbuild";
await build({
entryPoints: ["src/index.ts"],
outdir: "dist",
sourcemap: "external",
plugins: [browsonicSourceMaps({ appKey: "web" })],
});
esbuild's plugin model fires onEnd after every build — in watch mode that means an upload per rebuild. Either skip the plugin in dev configs or pass dryRun: true.
Angular CLI
The Angular CLI exposes no plugin hook, so none of the bundler plugins above apply. Emit hidden maps and upload them after the build:
// angular.json → …build.configurations.production
"sourceMap": { "scripts": true, "styles": false, "vendor": false, "hidden": true },
"outputHashing": "all"
ng build --configuration production
npx @browsonic/cli upload-sourcemaps --dist-path dist/<project> \
--release "$CLIENT_VERSION" --app-key "$BROWSONIC_APP_KEY" --base-url https://api.browsonic.com
Angular 17+ writes to dist/<project>/browser. --release must equal the SDK's clientVersion
(or release) and change per build. Debug ids can be stamped afterwards with
injectDebugIds('dist/<project>'), but not with subresourceIntegrity: true — the CLI's
integrity= hashes in index.html cover the pre-stamp bytes, and injectDebugIds refuses when it
finds them. The full recipe is in the SDK's INTEGRATION.md (Angular section).
Options…
Description from the npm listing.
- browsonic
- browsonic-build-tools
- sourcemap
- sourcemap-upload
- vite-plugin
- webpack-plugin
- rollup-plugin
- esbuild-plugin
- javascript-error-monitoring
- browser-error-tracking
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 (170)Similar npm Webpack plugins plugins
All 20 @browsonic/build-tools 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/@browsonic/build-tools. First seen Oct 16, 2026; last successful collection Oct 23, 2026. See the methodology.