# Local web build and development The SDK 0.5.59 candidate adds a private local toolchain for the web profile. Its Source checks cover 20 unique definitions: 19 successful first-attempt observations and one separately selected corrected negative observation. The finite private web-profile installation is independently accepted. Whole-SDK public distribution remains pending. Use an authorized candidate installation for the commands below; existing public native and Wasm downloads retain their earlier profiles. ```sh soloncode build page.solon --out-dir new-build --document page --inputs inputs.json soloncode dev page.solon --document page --inputs inputs.json ``` A build compiles the supplied source in the web profile, keeps its original Program and successful receipt, and streams the selected Document into `index.html`. It writes a private module, a source map and a build report. The output directory must be new: existing files, directories and symlinks are preserved. Failed new artifacts are retained with their failure. The report records actual output bytes, hashes, execution metrics and stream counters. It does not copy raw inputs, configuration or credentials. Plan and buffer accounting describe SDK-owned structures rather than process memory. `exportJavaScriptWithMap(program,{sourcePath})` emits the same JavaScript as the ordinary exporter plus a version 3 map. Source names are relative `.solon` paths. Maps omit embedded source and private implementation paths. Mapping covers original derive expression entries; internal helper and function-local origins have a narrower diagnostic scope. An optional `--app-config` selects an interactive application and explicitly supplies public initial state. The initial page is rendered by the original Program. The browser bootstrap is an external module; no inline state script is created and no environment values are implicitly copied. Development binds a new server to an ephemeral `127.0.0.1` port. The request Host must match that numeric address and port; a supplied Origin must match too. Static mode serves only the exact page and health paths. Interactive mode also serves its explicit private module. Maps, source, input files, query-bearing paths and traversal are refused. Closing the new server leaves other applications untouched. Generated modules contain implementation code. This local development workflow does not authorize public browser delivery. Public packaging must pass a separate implementation-privacy review. The accepted Source scope covers exact document output, reports, source locations, existing-path preservation, explicit CLI arguments, loopback Host/Origin checks and the generated interactive application. The first failed negative observation remains retained with its separate correction; this is not a single all-20-pass attempt. Local development acceptance does not establish a production server or a public SDK release. See [web applications](web-application.md) and [typed HTML and Documents](web-platform.md).