{"library":"size-limit-node-esbuild","title":"size-limit-node-esbuild","description":"Node esbuild plugin for Size Limit, a lightweight tool to measure JavaScript bundle sizes. Current stable version is 0.4.0, released with major bump to size-limit v11. This plugin enables size-limit to process Node.js bundles using esbuild, an extremely fast bundler and minifier. It integrates with size-limit's configuration system and supports ESM and CJS outputs. Key differentiators: leverages esbuild's speed for CI size checks, supports modern Node.js (^12.20.0 || ^14.18.0 || >=16.0.0), ships TypeScript types, and is part of the un-ts/size-limit ecosystem. Release cadence is irregular, with major breaking changes tracking size-limit major updates. Compared to alternatives like webpack or rollup plugins, it offers faster builds for Node-focused targets.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install size-limit-node-esbuild"],"cli":{"name":"size-limit","version":null}},"imports":["import sizeLimitNodeEsbuild from 'size-limit-node-esbuild'","import sizeLimitNodeEsbuild from 'size-limit-node-esbuild'","import type { SizeLimitNodeEsbuildOptions } from 'size-limit-node-esbuild'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install: pnpm add -D size-limit @size-limit/preset-app size-limit-node-esbuild\n// size-limit.config.js\nimport sizeLimitNodeEsbuild from 'size-limit-node-esbuild';\n\nexport default [\n  {\n    path: \"dist/index.js\",\n    plugin: [sizeLimitNodeEsbuild],\n    limit: \"10 KB\",\n  },\n];\n\n// Run: npx size-limit","lang":"javascript","description":"Shows how to configure size-limit with the esbuild plugin to check a Node bundle size.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}