Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions crates/trusted-server-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ Rust wrapper and TypeScript build for Trusted Server's browser runtime.
The build script discovers the checked TypeScript entries, invokes the Node
build, and embeds the resulting IIFE bundles in Rust. The Rust API returns
individual bundles, deterministic concatenations, and content hashes used by
adapter responses. Browser behavior lives under `lib/src`; generated `dist`
files are build outputs, not edited sources. The external Prebid.js artifact is
adapter responses. Browser behavior lives under `lib/src`. Cargo builds the
bundles into a private directory under its `OUT_DIR` and fails if any expected
bundle is missing or empty; the `dist` directory is written only by a manual
`npm run build` (for browser tests) and is never embedded unless you pass it
explicitly through `TSJS_PREBUILT_DIR`. The external Prebid.js artifact is
built separately and is not the deferred Trusted Server Prebid shim.

Run the JavaScript checks from `crates/trusted-server-js/lib`:
Expand Down
Loading
Loading