Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

rollup-react-example

Build Status

Example dev environment for React using Rollup with code splitting, ES modules, Service Workers, Babel and Flow.
This repository completes a step-by-step guide on Medium on how to setup Rollup for JavaScript development.

Sample configuration files for Travis CI and Netlify are provided.

Commands

  • npm install
  • npm run workbox creates Service Workers
  • npm run build creates a production build and Service Workers
  • npm run watch starts the dev loop
  • npm run serve starts a HTTP server, then browse to http://localhost:5000
  • npm run jest runs unit tests
  • npm run cypress:open opens Cypress GUI
  • npm test runs unit tests, then builds, then launches a dev server on port 5000, then runs end-to-end tests

License

see LICENSE

@camille_hdl

About

An example React application using Rollup with ES modules, dynamic imports, Service Workers, and Flow.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published