rollup-plugin-ts
A TypeScript Rollup plugin that bundles declarations, respects Browserslists, and enables seamless integration with transpilers such as babel and swc
rollup-plugin-ts@3.4.5 was published on 2023-09-07. Its manifest declares 10 runtime dependencies and 9 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=16.15.1.
Deprecated: please use @rollup/plugin-typescript and rollup-plugin-dts instead
All rollup-plugin-ts versions · Permanent reference to 3.4.5
Package specifications
| Version | 3.4.5 |
|---|---|
| License declaration | MIT |
| Published | 2023-09-07T09:18:26.659Z |
| Node.js requirement | >=16.15.1 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 10 |
| Peer requirement count | 9 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2834.05 KiB |
| Published file count | 9 |
| Package type | module |
| ES module entry | ./dist/esm/index.js |
| Default entry | ./dist/cjs/index.cjs |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 31 |
| Repository stars | 489 |
| Repository forks | 33 |
Install rollup-plugin-ts 3.4.5
npm install rollup-plugin-ts@3.4.5 pnpm add rollup-plugin-ts@3.4.5 yarn add rollup-plugin-ts@3.4.5
Runtime dependencies
- tslib ^2.6.1
- crosspath ^2.0.0
- ansi-colors ^4.1.3
- browserslist ^4.21.10
- magic-string ^0.30.2
- compatfactory ^3.0.0
- ts-clone-node ^3.0.0
- @rollup/pluginutils ^5.0.2
- @wessberg/stringutil ^1.0.19
- browserslist-generator ^2.1.0
Peer requirements
- rollup >=1.x || >=2.x || >=3.x
- @swc/core >=1.x (optional peer)
- typescript >=3.2.x || >= 4.x || >= 5.x
- @babel/core >=7.x (optional peer)
- @swc/helpers >=0.2 (optional peer)
- @babel/runtime >=7.x (optional peer)
- @babel/preset-env >=7.x (optional peer)
- @babel/preset-typescript >=7.x (optional peer)
- @babel/plugin-transform-runtime >=7.x (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @jridgewell/sourcemap-codec@1.6.0 — indirect
- @mdn/browser-compat-data@5.7.6 — indirect
- @rollup/pluginutils@5.5.1 — direct
- @types/estree@1.0.9 — indirect
- @types/node@17.0.45 — indirect
- @types/object-path@0.11.4 — indirect
- @types/semver@7.8.0 — indirect
- @types/ua-parser-js@0.7.39 — indirect
- @wessberg/stringutil@1.0.19 — direct
- ansi-colors@4.1.3 — direct
- baseline-browser-mapping@2.11.34 — indirect
- browserslist@4.29.5 — direct
- browserslist-generator@2.3.0 — direct
- caniuse-lite@1.0.30001819 — indirect
- compatfactory@3.0.0 — direct
- crosspath@2.0.0 — direct
- electron-to-chromium@1.5.467 — indirect
- escalade@3.2.0 — indirect
- estree-walker@2.0.2 — indirect
- helpertypes@0.0.19 — indirect
- isbot@3.8.0 — indirect
- magic-string@0.30.21 — direct
- node-releases@2.0.60 — indirect
- object-path@0.11.8 — indirect
- picocolors@1.1.1 — indirect
- picomatch@4.0.7 — indirect
- semver@7.8.5 — indirect
- ts-clone-node@3.0.0 — direct
- tslib@2.8.1 — direct
- ua-parser-js@1.0.41 — indirect
- update-browserslist-db@1.3.4 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 0/10 — Found 1/28 approved changesets -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/rollup-plugin-ts/3.4.5 — retrieved 2026-10-29T12:12:20.974Z
- https://api.deps.dev/v3/systems/npm/packages/rollup-plugin-ts/versions/3.4.5 — retrieved 2026-10-29T12:12:21.486Z
- https://api.deps.dev/v3/systems/npm/packages/rollup-plugin-ts/versions/3.4.5:dependencies — retrieved 2026-10-29T12:12:21.505Z
- https://api.deps.dev/v3/projects/github.com%2Fwessberg%2Frollup-plugin-ts — retrieved 2026-10-29T12:12:21.623Z