react-rollup
Build react app using Rollup by Harald Rudell
Last updated 10 months ago by haraldrudell .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install react-rollup 
SYNC missed versions from official npm registry.

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 harald.rudell@gmail.com (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

Example Project

link: Hire Harald Rudell

link: Sponsor Harald Rudell

Lib Create React App creates shareable libraries from projects bootstrapped with Create React App.

© 2018-present Harald Rudell harald.rudell@gmail.com (http://www.haraldrudell.com)

Current Tags

  • 0.0.16                                ...           latest (10 months ago)

13 Versions

  • 0.0.16                                ...           10 months ago
  • 0.0.15                                ...           10 months ago
  • 0.0.14                                ...           10 months ago
  • 0.0.13                                ...           10 months ago
  • 0.0.12                                ...           10 months ago
  • 0.0.9                                ...           10 months ago
  • 0.0.8                                ...           10 months ago
  • 0.0.7                                ...           10 months ago
  • 0.0.6                                ...           10 months ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |