Skip to content

Commit

Permalink
Merge pull request #8132 from rtibbles/ie11
Browse files Browse the repository at this point in the history
Restore IE11 compatibility
  • Loading branch information
jonboiser authored Jun 14, 2021
2 parents cf82939 + 60ef8b1 commit 4db150e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion browserslist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

> 0.1%
last 2 versions
ie >= 9
ie >= 11
ios >= 9.3
Firefox ESR
1 change: 1 addition & 0 deletions kolibri/core/assets/src/core-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Provides the public API for the Kolibri FrontEnd core app.
* @module Facade
*/
import 'core-js';
import '../styles/main.scss';
import urls from 'kolibri.urls';
import * as theme from 'kolibri-design-system/lib/styles/theme';
Expand Down
2 changes: 1 addition & 1 deletion packages/kolibri-tools/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
'@babel/preset-env',
{
useBuiltIns: 'entry',
corejs: '3.10',
corejs: '3.13',
},
],
],
Expand Down
5 changes: 4 additions & 1 deletion packages/kolibri-tools/lib/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ module.exports = (data, { mode = 'development', hot = false } = {}) => {
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /(node_modules\/vue|dist)/,
exclude: {
test: /(node_modules\/vue|dist|core-js)/,
not: [/\.(esm\.js|mjs)$/],
},
},
{
test: /\.css$/,
Expand Down
1 change: 1 addition & 0 deletions packages/kolibri-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"chokidar": "^2.0.4",
"colors": "^1.1.2",
"commander": "^2.9.0",
"core-js": "3",
"css-loader": "^0.28.7",
"csv-parse": "^4.14.1",
"csv-parser": "^2.3.3",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4316,6 +4316,11 @@ core-js-pure@^3.0.0:
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.6.5.tgz#c79e75f5e38dbc85a662d91eea52b8256d53b813"
integrity sha512-lacdXOimsiD0QyNf9BC/mxivNJ/ybBGJXQFKzRekp1WTHoVUWsUHEn+2T8GJAzzIhyOuXA+gOxCVN3l+5PLPUA==

core-js@3:
version "3.13.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.13.1.tgz#30303fabd53638892062d8b4e802cac7599e9fb7"
integrity sha512-JqveUc4igkqwStL2RTRn/EPFGBOfEZHxJl/8ej1mXJR75V3go2mFF4bmUYkEIT1rveHKnkUlcJX/c+f1TyIovQ==

core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0:
version "2.6.11"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
Expand Down

0 comments on commit 4db150e

Please sign in to comment.