Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haraldrudell/react-rollup
Build react app using Rollup by Harald Rudell
https://github.com/haraldrudell/react-rollup
Last synced: 1 day ago
JSON representation
Build react app using Rollup by Harald Rudell
- Host: GitHub
- URL: https://github.com/haraldrudell/react-rollup
- Owner: haraldrudell
- License: other
- Created: 2018-12-05T15:33:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-23T15:49:37.000Z (almost 6 years ago)
- Last Synced: 2024-11-04T01:51:59.314Z (15 days ago)
- Language: JavaScript
- Size: 191 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React-Rollup
The React build pipeline ported to [Rollup](https://rollupjs.org)
[click for **Video presentation**, 10 min](https://youtu.be/KVaOVjiH2SQ)
Used by [lib-create-react-app](https://github.com/haraldrudell/lib-create-react-app)
## © 2018-present Harald Rudell (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:
import rollupPresetReact from 'react-rollup'
…
export default {input, output, external, plugins: rollupPresetReact(options)}options:
* **jail**: for rollup-plugin-resolve
* **assetsPath**: directory to where assets like fonts are copied### Components
* [react-rollup](https://github.com/haraldrudell/react-rollup.git) the [Create React App](https://github.com/facebook/create-react-app) build pipeline ported to [Rollup](https://rollupjs.org)
* [lib-create-react-app](https://github.com/haraldrudell/lib-create-react-app) that adapts, builds and publishes a React project to npm
* [es2049package](https://github.com/haraldrudell/ECMAScript2049/tree/master/workspace/packages/es2049package) a configuration-free bundler for CommonJS and ECMAScript modules
### Example Project
* [demo-context-store](https://github.com/haraldrudell/demo-context-store.git) a single-truth store in 94% less code lines
## link: [Hire Harald Rudell](https://hire.surge.sh/)
## link: [Sponsor Harald Rudell](https://www.gofundme.com/san-francisco-revenge-crime-victim/)
**[Lib Create React App](https://github.com/haraldrudell/lib-create-react-app)** creates shareable libraries from projects bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## © 2018-present Harald Rudell (http://www.haraldrudell.com)