You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* initial implementation of module system
* express module
* conversion of rubicon adapter to module system
* use var instead of let in node scripts
* example of using modules for concatenation through webpack code-splitting
* fixes for webpack code-splitting
* changes including config through setConfig and getConfig callback
* external modules working, but node_modules in project still needs babel-laoder fix
* gulp watch bundle building
* fix for babel-loader node_modules exclusion and bundle only
* updated express module to work in new webpack module format
* gulp default, don't bundle
* updated rubicon adapter to latest
* added appnexus and appnexusAst to modules. added support for native and video registering
* added logging for files getting bundled
* fixed bug in bundling external modules
* aardvark bid adapter converted to module
* upadte appnexus bid adpater names and get ride of mocha loader tests
* adblade bid adapter converted to module
* adblund bid adapter converted to module
* adbutler bid adapter converted to module
* adequant bid adapter converted to module
* adform bid adapter converted to module
* adkernel bid adapter converted to module
* admedia bid adapter converted to module
* admixer bid adapter converted to module
* fix pbjs global for tests so load order doesn't matter
* adsuppply bid adpater converted to module
* use $$PREBID_GLOBAL$$ rather than pbjs in test files
* adyoulike bid adapter converted to module
* fixed adapter location in some adapters
* aol bid adapter converted to module
* atomx bid adapter converted to module
* audienceNetwork bid adapter converted to module
* beachfront bid adapter converted to module
* bidfluence bid adapter converted to module
* brightcom bid adapter converted to module
* centro bid adapter converted to module
* rubicon spec file name changed
* conversant bid adapter converted to module
* criteo bid adapter converted to module
* districtmDMX bid adapter converted to module
* fidelity bid adapter converted to module
* getintent bid adapter converted to module
* gumgum bid adapter converted to module
* hiromedia bid adapter converted to module
* huddledmasses bid adapter converted to module
* indexExchange bid adapter converted to module
* inneractive bid adapter converted to module
* innity bid adapter converted to module
* jcm bid adapter converted to module
* komoona bid adapter converted to module
* kruxlink bid adapter converted to module
* lifestreet bid adapter converted to module
* mantis bid adapter converted to module
* memeglobal bid adapter converted to module
* nginad bid adapter converted to module
* openx bid adapter converted to module
* piximedia bid adapter converted to module
* prebidServer bid adapter converted to module
* pubgears bid adapter converted to module
* pubmatic bid adapter converted to module
* pulsepoint and pulsepointLite bid adapter converted to module
* quantcast bid adapter converted to module
* rhythmone bid adapter converted to module
* added adkernel alias to headbidding to adkernalBidAdapter module
* roxot bid adapter converted to module
* sekindoUM bid adapter converted to module
* remove baseAdapter
* serverbid bid adapter converted to module
* sharethrough bid adapter converted to module
* smartyads bid adapter converted to module
* update conversantBidAdapter to support video
* get rubiconBidAdapter latest
* move rubicon adapter to module properly
* sonobi bid adapter converted to module
* sovrn bid adapter converted to module
* springserve bid adpater converted to module
* stickyadstv bid adapter converted to module (and removed console logs)
* convert tapsense bid adapter to module
* thoughtleadr bid adapter converted to module
* trion bid adapter converted to module
* triplelift bid adapter converted to module
* twenga bid adapter converted to module
* underdogmedia bid adapter converted to module
* vertamedia bid adapter converted to module
* vertoz bid adapter converted to module
* wideorbit bid adapter converted to module
* widespace bid adapter converted to module
* xhb bid adapter converted to module
* yieldbot converted from bid adapter to module
* smartadserver bid adapter converted to module
* remove old adapter class in adapter folder
* converted analytics adapters to modules
* removed loaders from build
* added plugin to remove file manifest and jsonp code from webpack runtime
* cox bid adapter converted to module
* carambola bid adapter converted to module
* eplanning bid adapter converted to module
* --modules arg allows .json file as parameter
* removing config module for now
* don't bundle AnalyticsAdapter.js in common chunk
* unruly bid adapter converted to module
* fixed case-sensitivity in including webpack plugin
* can't use class keyword, updated to constructor function for plugin
* added jsdoc to express and new webpack plugin
* fixed sourcemaps for concat step in bundle
* use external sourcemap for bundle instead of inline
* rename prebid.js to prebid-core.js and main bundle outputs prebid.js now
* updated README.md to be module specific
* added filter to ignore hidden files in modules directory
Copy file name to clipboardExpand all lines: README.md
+20-17Lines changed: 20 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -51,17 +51,11 @@ This runs some code quality checks, starts a web server at `http://localhost:999
51
51
52
52
### Build Optimization
53
53
54
-
The standard build output contains all the available bidder adapters listed in `adapters.json`.
54
+
The standard build output contains all the available modules from within the `modules` folder.
55
55
56
-
You might want to exclude some/most of them from the final bundle. To make sure the build only includes the adapters you want, you can make your own adapters file.
56
+
You might want to exclude some/most of them from the final bundle. To make sure the build only includes the modules you want, you can specify the modules to be included with the `--modules` CLI argument.
57
57
58
-
For example, in `path/to/your/list-of-adapters.json`, write:
59
-
60
-
[
61
-
"openx",
62
-
"rubicon",
63
-
"sovrn"
64
-
]
58
+
For example, when running the serve command: `gulp serve --modules=openxBidAdapter,rubiconBidAdapter,sovrnBidAdapter`
65
59
66
60
Building with just these adapters will result in a smaller bundle which should allow your pages to load faster.
67
61
@@ -71,26 +65,35 @@ Prebid now supports the `yarn` npm client. This is an alternative to using `npm`
71
65
For more info about yarn see https://yarnpkg.com
72
66
73
67
- Clone the repo, run `yarn install`
74
-
- Duplicate `adapters.json` to e.g. `list-of-adapters.json`
75
-
- Remove the unnecessary adapters from `list-of-adapters.json`
0 commit comments