rollup-plugin-rm
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

rollup-plugin-rm

Rollup plugin for rm command at build start or end.

Install

$ npm i rollup-plugin-rm -D

Usage

import rm from 'rollup-plugin-rm'

export default {
  input: 'src/index.js',
  output: {
    dir: 'output',
    format: 'cjs'
  },
  plugins: [rm('dist', 'buildStart')]
}

Or rm at the build end hook:

rm('dist/types', 'buildEnd')

License

MIT copyright © 2024-present alex wei

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-plugin-rm

Weekly Downloads

13

Version

1.0.2

License

MIT

Unpacked Size

3.87 kB

Total Files

6

Last publish

Collaborators

  • alex.wei