0.0.5 ā¢ Published 3 years ago
rollup-plugin-probe v0.0.5
rollup-plugin-probe
š Probes for monitoring rollup hooks information.
Installation
npm install -D rollup-plugin-probe
Usage
Specify which hooks you will record and report by setting options for probe. Rollup hooks which are not set in options will be ignored and not be recorded.
// rollup.config.js
import probe from "rollup-plugin-probe";
export default {
input: path.resolve(__dirname, "src/main.js"),
plugins: [
probe({
options: {}, // probe record information in options hook
transform: {}, // probe record information in transform hook
outputOption: {}, // probe record information in outputOption hook
generateBundle: {}, // probe record information in generateBundle hook
...
})
],
}