Skip to content

Commit

Permalink
Prebid 6.0 (prebid#7606)
Browse files Browse the repository at this point in the history
* Update .babelrc.js

babel/babel#7789

* Update browsers.json

* Update README.md

* Update .babelrc.js

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update .babelrc.js

* Update package.json

* Update wdio.conf.js
  • Loading branch information
patmmccann authored and Chris Pabst committed Jan 10, 2022
1 parent 12b40aa commit 8525c67
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
9 changes: 3 additions & 6 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ module.exports = {
{
"targets": {
"browsers": [
"chrome >= 75",
"safari >=10",
"edge >= 70",
"ff >= 70",
"ie >= 11",
"ios >= 11"
">0.25%",
"not ie 11",
"not op_mini all"
]
}
}
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ module.exports = {
loader: 'babel-loader',
// presets and plugins for Prebid.js must be manually specified separate from your other babel rule.
// this can be accomplished by requiring prebid's .babelrc.js file (requires Babel 7 and Node v8.9.0+)
// as of Prebid 6, babelrc.js only targets modern browsers. One can change the targets and build for
// older browsers if they prefer, but integration tests on ie11 were removed in Prebid.js 6.0
options: require('prebid.js/.babelrc.js')
}
}
Expand Down Expand Up @@ -314,7 +316,7 @@ For instructions on writing tests for Prebid.js, see [Testing Prebid.js](http://

### Supported Browsers

Prebid.js is supported on IE11 and modern browsers.
Prebid.js is supported on IE11 and modern browsers until 5.x. 6.x+ transpiles to target >0.25%; not Opera Mini; not IE11.

### Governance
Review our governance model [here](https://github.com/prebid/Prebid.js/tree/master/governance.md).
8 changes: 0 additions & 8 deletions browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
"device": null,
"os": "Windows"
},
"bs_ie_11_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "ie",
"browser_version": "11.0",
"device": null,
"os": "Windows"
},
"bs_chrome_90_windows_10": {
"base": "BrowserStack",
"os_version": "10",
Expand Down
2 changes: 1 addition & 1 deletion wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function getCapabilities() {
return platformMap[os];
}

// only IE 11, Chrome 80 & Firefox 73 run as part of functional tests
// only Chrome 80 & Firefox 73 run as part of functional tests
// rest of the browsers are discarded.
delete browsers['bs_chrome_79_windows_10'];
delete browsers['bs_firefox_72_windows_10'];
Expand Down

0 comments on commit 8525c67

Please sign in to comment.