Skip to content

Commit e260eef

Browse files
committed
Part 2 (Workbox)
1 parent 663baf4 commit e260eef

File tree

8 files changed

+1632
-32
lines changed

8 files changed

+1632
-32
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# rollup-react-example
22

3-
Example dev environment for React using [Rollup](https://rollupjs.org) with code splitting, ES modules, Babel and Flow.
3+
Example dev environment for React using [Rollup](https://rollupjs.org) with code splitting, ES modules, Service Workers, Babel and Flow.
44
This repository completes a step-by-step guide on Medium (TODO: link) on how to setup Rollup for JavaScript development.
55

66
## Commands
77

88
* `npm install`
9-
* `npm run build` creates a production build
9+
* `npm run workbox` creates Service Workers
10+
* `npm run build` creates a production build and Service Workers
1011
* `npm run watch` starts the dev loop
1112
* `npm run serve` starts a HTTP server, then browse to [http://localhost:5000](http://localhost:5000)
1213

0 commit comments

Comments
 (0)