Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-on support #721

Closed
protonate opened this issue Oct 18, 2016 · 3 comments
Closed

Add-on support #721

protonate opened this issue Oct 18, 2016 · 3 comments
Labels

Comments

@protonate
Copy link
Collaborator

protonate commented Oct 18, 2016

Type of issue

Feature Request

Description

Members of the Prebid Developer Community may have utility scripts they wish to share with the project. An "Add-on" feature would provide a means of incorporating this code. An example of this surfaced in #496 with debug tools from @cwbeck and @brondsem.

While useful for developer builds, publisher production builds can also benefit from the choice to add optional features or keep the file size down.

Expected results

An "add-on" script can be placed in a ./addons/ directory and then be incorporated into the build through a simple standardized API. This then provides the "add-on" functionality as an optional feature in the build. Configuration can be kept in an addons.json file at project root. Config could also be available through feature flags passed to gulp build.

Other information

See discussion of "render.js" in Issue #496.
See this gist: https://gist.github.com/cwbeck/bdea9f22ceed8af489fb047f357f77cc

@mkendall07
Copy link
Member

+1.

Why limit it to debug though? We could add additional functionality too right?

@protonate
Copy link
Collaborator Author

Yup, we could open this up for optional features in production builds and provide publishers with the choice of adding a feature or keeping the file size down. I'll update description.

@mkendall07
Copy link
Member

this will be address with prebid 1.0 modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants