rollup-plugin-rm
v1.0.2
Published
Rollup plugin for rm command at build start or end.
Downloads
84
Readme
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