All languages

JavaScript

You're viewing a free preview. Sign in free to read every script.

Why this exists A front end build is just static files, but delivering it well has traps: rebuilding per environment (so what you tested is not what you ship), stale caches after a release, broken deep links, and…

Building Angular and React in CI: Reproducible Builds, Runtime Config and an nginx Image

Deliver a single-page app the operational way: a deterministic npm ci build, bundle-size budgets, one artifact for every environment with runtime configuration, an nginx image with correct SPA routing and cache headers, running as non-root, and the Jenkins stages around it.

Sign in free to read this script, along with the rest of the library.

Sign in free