@mgsisk/rollup-config
v0.2.2
Published
Opinionated configuration for Rollup.
Downloads
23
Maintainers
Readme
@mgsisk/rollup-config
Opinionated configuration for Rollup.
@mgsisk/rollup-config is an opinionated Rollup plugin that loads other plugins preconfigured for JavaScript development. Includes the following plugins:
- rollup-plugin-babel
{presets: ['@babel/preset-env']}
- rollup-plugin-terser
{compress: {unsafe: true}}
Installation
npm install --save-dev @mgsisk/rollup-config
Usage
// rollup.config.js
import rollupConfig from '@mgsisk/rollup-config'
export default {
input: 'src/main.js',
output: {
file: 'bundle.js',
format: 'cjs',
},
plugins: rollupConfig
}
Support resources are available if you need help with this project. Refer to individual plugin documentation for more information on how each works.
Contributing
Contributions are always welcome; please read the code of conduct before you begin. See the changelog for notable project changes, and report any security concerns you find.
Thanks
To the contributors that help to build, fund, and maintain this project; the other works that have contributed to and inspired this project; and anyone that has found this project useful.