rollup-plugin-clear
Rollup clean plugin
Last updated 7 years ago by shelton .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install rollup-plugin-clear 
SYNC missed versions from official npm registry.

rollup-plugin-clear

Rollup clear plugin

Installation

npm install --save-dev rollup-plugin-clear

Usage

// 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.

Current Tags

  • 2.0.7                                ...           latest (7 years ago)

10 Versions

  • 2.0.7                                ...           7 years ago
  • 2.0.6                                ...           7 years ago
  • 2.0.5                                ...           7 years ago
  • 2.0.4                                ...           7 years ago
  • 2.0.3                                ...           7 years ago
  • 2.0.2                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Total 9
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (5)

© 2010 - cnpmjs.org x YWFE | Home | YWFE