{"library":"rollup-plugin-build-statistics","title":"rollup-plugin-build-statistics","description":"A Rollup plugin that tracks and logs build times to a JSON file, enabling teams to monitor build performance over time. Version 0.0.19 is the latest release (April 2021), part of a monorepo that also includes a webpack variant and a core package. It provides project-level configuration, daily summaries, and a web-based log analyzer. Unlike general logging plugins, it focuses specifically on build duration to help justify infrastructure improvements and detect configuration or hardware issues. The plugin is TypeScript-friendly with included type definitions.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-build-statistics"],"cli":null},"imports":["import buildStatistics from 'rollup-plugin-build-statistics'","import type { BuildStatisticsOptions } from 'rollup-plugin-build-statistics'","import type { RollupPluginBuildStatistics } from 'rollup-plugin-build-statistics'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import buildStatistics from 'rollup-plugin-build-statistics';\n\nexport default {\n  input: './src/index.js',\n  output: {\n    file: 'dist/index.js',\n    format: 'cjs',\n  },\n  plugins: [\n    buildStatistics({\n      projectName: 'my-app',\n      logsDirectoryName: 'stats',\n      summaryLogFilename: 'build-stats-summary',\n    }),\n  ],\n};","lang":"typescript","description":"Example Rollup config integrating the build statistics plugin with all configuration options.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}