rollup-plugin-clear-directory
v1.0.1
Published
rollup plugin - clear dist directory
Downloads
4
Readme
rollup-plugin-clear-directory
Clear the directory of output.
Installation
npm install --save-dev rollup-plugin-clear-directory
Usage
// rollup.config.js
import clearDirectory from 'rollup-plugin-clear-directory';
export default {
// ...
plugins: [
clearDirectory({
targets: ['dist']
})
]
};