一覧へ戻る
alwaysonlinetxm/rollup-plugin-clean(新しいタブで開きます)
主要言語: JavaScript
Clean the dest directory before rebuilding.
- star 数
- 3
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 2
- 最終更新
- 2017/07/11
主要言語: JavaScript
Clean the dest directory before rebuilding.
Clean the build directory before rebuilding.
yarn add -D rollup-plugin-clean
or
npm install -D rollup-plugin-clean
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.
MIT