rollup config basic config of rollup for javascript development. Thanks @haozi install global npm install -g rollup-config use roll init your-package cd your-package npm install build npm run build watch npm run watch test npm run test