Skip to content
PluginStats

@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.

View on npm Outdated · Oct 23, 2026

@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.

Weekly downloads
81
Official API · Dec 5, 2026
7-day growth
+252%
+58 weekly downloads
30-day growth
+710%
+71 weekly downloads
90-day growth
-82.4%
-378 weekly downloads
Rank
#2665
▲ 108 in 7 days

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 latest for this package is 1.4.0, and it matches main. Published 2026-09-05 (1.3.0 refuses to stamp a bundle that index.html pins with an SRI hash; 1.2.3 before it, 2026-09-02) together with its pinned dependency @browsonic/cli 1.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 to 1.2.1 posted the map under a multipart part named sourcemap while browsonic-service's POST /v1/sourcemaps binds file — so every real upload from a plugin version older than this one was rejected with 400. @browsonic/cli 1.2.3 (the version 1.2.1 of this package pins) posts file, docs/design/SOURCEMAP_PIPELINE.md documents that, and the part names are pinned by tests on both sides. The service also accepts sourcemap as 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 get 402 Payment Required from /v1/sourcemaps and /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

@browsonic/build-tools weekly downloads on npm, last 90 days: 81 weekly downloads as of Dec 5, 2026, -82.4% over 90 days.@browsonic/build-toolsWeekly downloads on npm · Last 90 days81downloads / week-82.4% over 90 days0100200300400500Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@browsonic/build-tools weekly downloads on npm, last 90 days: 81 weekly downloads as of Dec 5, 2026, -82.4% over 90 days.

7/30/90-day growth

@browsonic/build-tools weekly downloads growth on npm: +252% over 7 days, +710% over 30 days, -82.4% over 90 days.@browsonic/build-toolsWeekly downloads growth on npm81downloads / week now7-day growth+58 weekly downloads+252%30-day growth+71 weekly downloads+710%90-day growth-378 weekly downloads-82.4%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@browsonic/build-tools weekly downloads growth on npm: +252% over 7 days, +710% over 30 days, -82.4% over 90 days.

Ranking history

@browsonic/build-tools npm ranking history: currently #2665 (by weekly downloads).@browsonic/build-toolsnpm ranking · by weekly downloads · Last 90 days#2665current rank#2200#2400#2600#2800#3000#3200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 20 observations · Updated Dec 5, 2026pluginstats.com
@browsonic/build-tools npm ranking history: currently #2665 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 134, #5 (overall #2,665)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 10, #13 (overall #193)
Webpack plugins: every listing in weekly downloads order

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)
Recent weekly downloads observations for @browsonic/build-tools
Date (UTC)Weekly downloadsChange vs. previous
81-1
820
82+12
700
70+42
28+1
27+4
23-5
280
28+8
20-2
22+1
210
21—

Similar npm Webpack plugins plugins

All 20 @browsonic/build-tools alternatives

Data 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.