Movatterモバイル変換


[0]ホーム

URL:


@jaebradley/example-rollup-react-component-npm-package

2.0.19 • Public • Published

example-rollup-react-component-npm-package

Greenkeeper badgeExample Rollup React Component NPM Packagecodecovnpmnpm

ExampleReact component "library" usingrollup that is published tonpm.

rollup andwebpack

There are a lot of articles that comparerollup andwebpack (likethis orthis orthis orthis).

The general point is

webpack is generally a better fit for applications, androllup is generally a better fit for libraries1

So what is this project?

I've never usedrollup before - hell, I'vebarely usedwebpack before.

This was mostly to see how easy / difficult it was to create aReact component package usingrollup (aka "proof-of-concept").

My requirements for this package were

  1. Usebabel
  2. Usesemantic-release
  3. Usesass
  4. Supportumd andes modules
  5. Usestorybook
  6. Make the exported components really simple

My general thoughts

Footnotes

Package Sidebar

Install

npm i @jaebradley/example-rollup-react-component-npm-package

Weekly Downloads

55

Version

2.0.19

License

MIT

Unpacked Size

12.2 kB

Total Files

9

Last publish

Collaborators

  • jaebradley

[8]ページ先頭

©2009-2025 Movatter.jp