react-email-components-table
v0.1.2
Published
React Component for npm Publication using Rollup
Downloads
4
Maintainers
Readme
example-rollup-react-component-npm-package
Example React
component "library" using rollup
that is published to npm
.
rollup
and webpack
There are a lot of articles that compare rollup
and webpack
(like this or this or this or this).
The general point is
webpack
is generally a better fit for applications, androllup
is generally a better fit for libraries 1
So what is this project?
I've never used rollup
before - hell, I've barely used webpack
before.
This was mostly to see how easy / difficult it was to create a React
component package using rollup
(aka "proof-of-concept").
My requirements for this package were
- Use
babel
- Use
semantic-release
- Use
sass
- Support
umd
andes
modules - Use
storybook
- Make the exported components really simple
react-email-miscellaneous-components
- install https://www.npmjs.com/package/@reach/router
- https://www.npmjs.com/package/@reach/router
- https://reach.tech/router/api/Link