Static serving delivers already generated files directly from storage. The server reads each file from disk and sends it without generating or modifying content for the request. section 1.3.1
A simplified frontend deployment proceeds through these responsibilities:
- Generate or copy index.html from the static-assets directory. section 1.3.1
- Copy static assets such as images, fonts, and audio clips to the output directory. section 1.3.1
- Optionally preprocess assets or transform JavaScript before bundling. section 1.3.1
- Upload the resulting files to a server for delivery. section 1.3.1
Typical output
A build may produce app.bundle.js, vendors.bundle.js, bundle.css, and index.html. When requested, the server statically serves these files to the browser. section 1.3.1
Figure 1.4 A simplified diagram of a frontend application’s build process
Use the simplified build-process diagram to connect source assets and transformations with the files ultimately served. section 1.3.1
