Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

babel: Include "transform-optional-chaining" in presets.

Lalit Singhdcbf62f4927e
diff --git a/web/babel.config.js b/web/babel.config.js
index 9342f137b9b..9079dcabe8a 100644
--- a/web/babel.config.js
+++ b/web/babel.config.js
@@ -15,6 +15,7 @@ module.exports = {
"@babel/preset-env",
{
corejs: "3.31",
+ include: ["transform-optional-chaining"],
shippedProposals: true,
useBuiltIns: "usage",
},