This is a base template for Rollup. It demonstrates how to use rollup with React library.
@rollup/plugin-json
: Rollup plugin for JSON;@rollup/plugin-node-resolve
: For using third party modules in node_modules;@rollup/plugin-commonjs
: For CommonJS;rollup-plugin-postcss-modules
:For SCSS and css module;rollup-plugin-typescript2
: Rollup plugin for typescript;rollup-plugin-dts
: Roll-up .d.ts definition files;rollup-plugin-terser
: Minify generated es bundle.- ...
Visit https://github.com/rollup/awesome for more plugins.
Clone this repository, run npm run build
or npm run watch
.