Times Rollup plugins by monkey-patching plugin API functions. Version 0.3.4 is stable with no recent updates; it works with Rollup <1 and is incompatible with rollup-plugin-commonjs. Differentiator: simple drop-in timing for Rollup builds, with support for both promise and stream-based rollup invocations.
npm install rollup-timerVerified import paths — ran on the pinned version, not inferred.
Monkey-patches Rollup to time plugin execution and outputs timing information.
Avoid using rollup-timer with rollup-plugin-commonjs, or expect inaccurate timing data.
Consider using Rollup's built-in timing support or other profiling tools.
Ensure plugins provide a 'name' property; submit PRs to plugin authors if missing.
Use 'import time from 'rollup-timer''
Use 'const time = require('rollup-timer').default'No dependency data recorded yet.