1.0.0 • Published 8 years ago
rollup-plugin-clean v1.0.0
rollup-plugin-clean
Clean the build directory before rebuilding.
Installation
yarn add -D rollup-plugin-cleanor
npm install -D rollup-plugin-cleanUsage
In the rollup.config.js:
import clean from 'rollup-plugin-clean';
export default {
entry: 'src/index.js',
dest: 'dist/bundle.js',
plugins: [
clean()
]
};and the dist directory will be removed everytime rebuilding.
License
MIT
1.0.0
8 years ago