-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Modernizing build dependencies #1355
Conversation
…n up the browserstack logs.
…ody needs anymore.
…wserstack look good again.
var webpack = require('webpack-stream'); | ||
var path = require('path'); | ||
var webpack = require('webpack'); | ||
var webpackStream = require('webpack-stream'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to require both webpack
and webpackStream
? Docs seem to indicate stream is a drop-and-replace.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's under the Usage header.
If you would like to use a different version of webpack than the one this plugin uses, pass in an optional 2nd argument
They're using webpack 1.12.9.
@snapwich appreciate your review on these changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. nice work!
…built * 'master' of https://github.com/prebid/Prebid.js: (95 commits) Specify --browsers when using gulp test --watch (prebid#1420) Added aliases for aol adapter. (prebid#1371) Added MobFox Adapter (prebid#1312) Fixed style error. (prebid#1419) Add native support for Criteo adapter (prebid#999) Update admediaBidAdapter.js (prebid#1395) Increment pre version (prebid#1413) Prebid 0.26.1 Release (prebid#1412) fix prebid#1410 - issue with ie and xhr.timeout (prebid#1411) Lint modules directory (prebid#1404) Set outstream mediaType based on renderer in response (prebid#1391) Fixing the BidAdjustmentEvent fire time (prebid#1399) Fix banner showing up in prebid-core.js (prebid#1388) Mention NodeJS 4.0 dependency in the README (prebid#1386) Increment pre version (prebid#1385) Prebid 0.26.0 Release (prebid#1384) PulsePoint Lite adapter - adding createNew method for aliasing. (prebid#1383) Modernizing build dependencies (prebid#1355) StickyAdsTV bidder adapter update (prebid#1311) Added CPM value as parameter for Vertoz Adapter (prebid#1306) ...
Type of change
Build upgrades & maintenance
Description of change
Lots of build maintenance relating to webpack, istanbul, and karma.
Fixed bugs
gulp test —browserstack
is much more conciseMaintenance
gulp test-coverage
command.gulp test
no longer generates coverage.gulp run-tests
usesgulp test-coverage
, whilegulp serve
usesgulp test
.Performance Comparison
These were very un-scientific... I only ran each test once, and didn't pay attention to my machine load. I can run more careful trials if anyone really cares though.
Old build (from Master)
prebid.js bundle size — 269KB
npm install
— 31syarn install
— 20.45sgulp build
— 13sgulp lint
— 6sgulp run-tests
— 1m1sNew build (from this branch)
prebid.js bundle size — 264KB
npm install
— 25syarn install
— 18.59sgulp build
— 15sgulp lint
— 5sgulp test
— 37sgulp run-tests
— 1m17s (no longer used bygulp serve
)gulp test --browserstack
-- About 10 minutes