Important
Changes to the master branch are automatically deployed by Netlify.
- Bump the version in
package.json
. Causes the service-worker.js file to be updated. - Bump the
CACHE_VERSION
inservice-worker.ts
if the cached files have changed. - Commit the change.
- Update the master branch.
npm i
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
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
Builds production and serves the files using http-server; no proxy.
npm run serve:static