react-rollup
v0.0.16
Published
Build react app using Rollup by Harald Rudell
Downloads
45
Maintainers
Readme
React-Rollup
The React build pipeline ported to Rollup
click for Video presentation, 10 min
Used by lib-create-react-app
© 2018-present Harald Rudell [email protected] (http://www.haraldrudell.com)
Usage
This project mainly supports lib-create-react-app
It does provide a rollup preset for React that allows for transpiling a React app with css into distributable files
yarn add --dev react-rollup
In rollup.config.js:
options:
- jail: for rollup-plugin-resolve
- assetsPath: directory to where assets like fonts are copied
Components
- react-rollup the Create React App build pipeline ported to Rollup
- lib-create-react-app that adapts, builds and publishes a React project to npm
- es2049package a configuration-free bundler for CommonJS and ECMAScript modules
Example Project
- demo-context-store a single-truth store in 94% less code lines
link: Hire Harald Rudell
link: Sponsor Harald Rudell
Lib Create React App creates shareable libraries from projects bootstrapped with Create React App.