Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

chore(babel): Use babel-preset-env instead of babel-preset-es2015.

hristoterezovbade2ae719e8
diff --git a/package.json b/package.json
index 5bff61e883..453b5ce5df 100644
--- a/package.json
+++ b/package.json
@@ -80,7 +80,7 @@
"babel-eslint": "8.0.1",
"babel-loader": "7.1.2",
"babel-polyfill": "6.26.0",
- "babel-preset-es2015": "6.24.1",
+ "babel-preset-env": "1.6.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-1": "6.24.1",
"clean-css": "3.4.25",
diff --git a/webpack.config.js b/webpack.config.js
index ec63182ef7..d56598e3d1 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -73,7 +73,7 @@ const config = {
// of the prefix babel-preset- in the preset names.
presets: [
[
- require.resolve('babel-preset-es2015'),
+ require.resolve('babel-preset-env'),
// Tell babel to avoid compiling imports into CommonJS
// so that webpack may do tree shaking.