Repository navigation
Download page: add "Use Prebid.js as an npm dependency" - #6860
Merged
Merged
Conversation
Companion to prebid/Prebid.js#15853: explain installing Prebid.js from npm, choosing modules by importing them (including parent modules for submodules), that 10+ works with any bundler without Babel, and link the README's webpack + SWC and Bun examples. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 task done
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
✅ Deploy Preview for prebid-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
muuki88
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to prebid/Prebid.js#15853, which documents bundling Prebid.js from npm with webpack + SWC and with Bun in the Prebid.js README. Related: prebid/Prebid.js#10086.
docs.prebid.org had no page about using Prebid.js as an npm dependency. The download page offers "Option 1" (download) and "Option 2: Build from Source Code", so this adds "Option 3: Use Prebid.js as an npm Dependency" with:
npm install prebid.jsand an example entry file. It shows that modules are chosen by importing them, by their names inmodules/, instead of--modulesor the checkboxes.gulp buildadd these automatically, but npm imports don't. Build: NPM submodule imports pull in their parent module Prebid.js#15854 makes npm imports add parents too; once it ships, this bullet can say so.The example entry file is the one that was built and run in headless Chrome for #15853.
markdownlint-cli2 0.22.1 passes. It merges cleanly with #6842 and #6845, which also edit
download.md.🤖 Generated with Claude Code