This page is is made with tools provided by the browser as
much as possible. We are using import
statements to resolve ES modules, the view library uses
web components, and we are using the browser's
WebCrypto
API for all cryptography.
The build script for this page copies some JS files
from one folder to another, bundles some modules that have
dependencies, and builds the css, which uses
postcss,
so that I can use nesting. Modules are resolved by the
browser with an importmap
.
importmap
in HTML:
{ "imports": { "@nichoth/tonic": "/tonic.min.js", "@ssc-half-light/identity": "/identity.js", "@oddjs/odd": "/odd.js", "ky": "/ky.js", "@ssc-half-light/request": "/request.js", "@ssc-half-light/envelope": "/envelope.js" } }