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

Resolve included libraries from dependencies.json #4

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

robertrmartinez
Copy link
Collaborator

As per the convo in prebid/Prebid.js#8599 (comment)

We need to update prebid packager to handle if a included module has library dependencies.

This was a quick fix to resolve those which need to be added.

@robertrmartinez
Copy link
Collaborator Author

@dgirardi Here is a quick fix to allow Prebid Packager to handle if a module has dependencies. I am sure there is a better way to do this but I had to quickly throw something together!

Copy link

@dgirardi dgirardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with the caveat that I haven't looked at the details of this packager (e.g. manifest is a view on the files generated by the build I assume?) but the use of dependencies.json looks correct.

FYI, the prebid.org download page runs gulp build once per version, then gulp bundle to generate bundles (with different modules etc) which is relatively inexpensive.

@robertrmartinez
Copy link
Collaborator Author

Yeah, I think it is time to move our stuff to utilize bundle now in Prebid. I think it supersedes this use case.

Going to merge this for now and do a release.

Then get off of it!

Don't think you need to get into the weeds of the packager haha.

@robertrmartinez robertrmartinez merged commit 355dc5e into master Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants