Uses the unofficial HackerNews API HNPWA API, and works on all modern browsers.
See https://compost-35844.firebaseapp.com for a live production build.
Ideal for testing out the implementation.
npm run build:dev
This copies the required files from
node_modules into the
public directory, bundles the js with sourcemaps (using rollup), and creates a service worker.
Currently geared towards firebase hosting.
npm run build:prod
This does the same as the dev build but creates a separate
build directory for deploying, creates a firebase function to preload and cache API results for the root page, and sets cache control for static assets.