Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
browserslist: Stop transpiling for pre-ES2019 browsers.
Anders Kaseorge2e645a183c8
diff --git a/.browserslistrc b/.browserslistrcindex 93f56cacfbd..b09754bd8b0 100644--- a/.browserslistrc+++ b/.browserslistrc@@ -2,4 +2,4 @@> 0.15% in USlast 2 versionsFirefox ESR-not dead+not dead and supports async-functionsdiff --git a/babel.config.js b/babel.config.jsindex f48e32da605..43110747786 100644--- a/babel.config.js+++ b/babel.config.js@@ -15,7 +15,6 @@ module.exports = {"@babel/preset-env",{corejs: "3.20",- loose: true, // Loose mode for…of loops are 5× faster in FirefoxshippedProposals: true,useBuiltIns: "usage",},diff --git a/tools/ci/production-build b/tools/ci/production-buildindex 7e8b70b826b..f2c9a37efec 100755--- a/tools/ci/production-build+++ b/tools/ci/production-build@@ -44,9 +44,9 @@ cp -a \\/tmp/production-build-# Check that webpack bundles use only ES5 syntax.+# Check that webpack bundles use only ES2019 syntax.tar -C /tmp -xzf /tmp/production-build/zulip-server-test.tar.gz zulip-server-test/prod-static/serve/webpack-bundles(GLOBIGNORE=/tmp/zulip-server-test/prod-static/serve/webpack-bundles/katex-cli.js- yarn run es-check es5 /tmp/zulip-server-test/prod-static/serve/webpack-bundles/*.js+ yarn run es-check es2019 /tmp/zulip-server-test/prod-static/serve/webpack-bundles/*.js)