Bundling with Rollup

TLDRRollup supports ES modules out of the box. To support CommonJS, the following plugins are required. To generate a UMD bundle with MyModuleName as the export name, use umd. To minify your bundle with rollup v2, use terser.

2m read time From medium.com
Post cover image
Table of contents
PrerequisitesSetupOutput FormatConfig FileCommonJSNode ResolveTerserUglify

Sort: