Gem 一覧へ戻る
sheltondong/rollup-plugin-clear(新しいタブで開きます)
主要言語: TypeScript
Rollup clean plugin
- star 数
- 13
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 2
- 最終更新
- 2018/02/14
主要言語: TypeScript
Rollup clean plugin
Rollup clear plugin
npm install --save-dev rollup-plugin-clear
// rollup.config.js import clear from 'rollup-plugin-clear' const config = { // ... plugins: [ // ... clear({ // required, point out which directories should be clear. targets: ['some directory'], // optional, whether clear the directores when rollup recompile on --watch mode. watch: true, // default: false }) ] } export default config;
This plugin can help you to clear the specific directories when the rollup bundle your resource.