{"library":"rollup-plugin-tree-shakeable","type":"library","category":null,"description":"A Rollup plugin (v2.0.0, latest) that automatically adds @__PURE__ annotations to top-level expressions in your JavaScript/TypeScript modules, convincing bundlers like Rollup, esbuild, and webpack that the module is side-effect free and enabling effective tree-shaking. Unlike setting `sideEffects: false` in package.json, which cannot handle function calls at module scope, this plugin annotates each call individually. Requires Node >= 22 and Rollup. Lightweight, zero-config, and actively maintained with few dependencies.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","bundle","pure","rollup","rollup-plugin","tree-shaking"],"install":[{"cmd":"npm install rollup-plugin-tree-shakeable","imports":["import treeShakeable from 'rollup-plugin-tree-shakeable'","import type { Plugin } from 'rollup'","import treeShakeable from 'rollup-plugin-tree-shakeable'; export default { plugins: [treeShakeable()] }"]},{"cmd":"yarn add rollup-plugin-tree-shakeable","imports":[]},{"cmd":"pnpm add rollup-plugin-tree-shakeable","imports":[]}],"homepage":null,"github":"https://github.com/TomerAberbach/rollup-plugin-tree-shakeable","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rollup-plugin-tree-shakeable","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/rollup-plugin-tree-shakeable/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}