{"library":"rollup-plugin-cleaner","title":"rollup-plugin-cleaner","description":"A Rollup plugin that deletes specified directories before each build, ensuring clean output. Version 1.0.0 is the latest stable release; the package is minimal and rarely updated. It simplifies cleaning build artifacts compared to manually using `rimraf` or shell commands, with options for silent mode. Alternative plugins like rollup-plugin-delete offer similar functionality with more features.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-cleaner"],"cli":null},"imports":["import cleaner from 'rollup-plugin-cleaner'","import { cleaner } from 'rollup-plugin-cleaner'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport cleaner from 'rollup-plugin-cleaner';\n\nexport default {\n  input: './src/index.js',\n  output: {\n    dir: './build',\n    format: 'cjs',\n  },\n  plugins: [\n    cleaner({\n      targets: ['./build/'],\n      silent: true,\n    }),\n  ],\n};","lang":"javascript","description":"Configures rollup-plugin-cleaner to delete the ./build directory before each build.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}