Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 924 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 924 Bytes

island-explorer

Publish

Important

Changes to the master branch are automatically deployed by Netlify.

  1. Bump the version in package.json. Causes the service-worker.js file to be updated.
  2. Bump the CACHE_VERSION in service-worker.ts if the cached files have changed.
  3. Commit the change.
  4. Update the master branch.

Development

Install

npm i

Dev server

The development server is the Vite server with fast reloading of changes to code. The files served are not the same as the production build files.

npm run serve

Preview server

Serves a production build using the Vite server. Proxies calls to the /api path to the location specified in the "preview" section of apps/island-explorer/vite.config.ts

npm run preview

Static server

Builds production and serves the files using http-server; no proxy.

npm run serve:static