@webpuppy/rollup-common
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

@webpuppy/rollup-common

small collection of rollup config presets generated based on package.json properties

createReactConfigFromPackage

options: bundleStyles - determines whether or not to bundle css-in-js with rollup-plugin-styles

description: creates a react rollup config with the following plugins:

  • @rollup/plugin-typescript
  • @rollup/plugin-babel
  • @rollup/plugin-node-resolve
  • @rollup/plugin-commonjs
  • rollup-plugin-terser
  • rollup-plugin-dts
  • rollup-plugin-terser

types output to lib/index.d.ts, package.json.main defines the commonjs output, and package.json.module defines the esm output

returns: the rollup config to override/extend/export to local rollup config

resources

Readme

Keywords

Package Sidebar

Install

npm i @webpuppy/rollup-common

Weekly Downloads

1

Version

0.1.5

License

none

Unpacked Size

9.53 kB

Total Files

6

Last publish

Collaborators

  • kylegriffith
  • abschill