Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix: set explicit ES2021 target in tsconfig to support Unicode regex (#8174)

Xichen Panec61f4a42097
diff --git a/worker/tsconfig.json b/worker/tsconfig.json
index 50e2c2160e..c30a342daf 100644
--- a/worker/tsconfig.json
+++ b/worker/tsconfig.json
@@ -6,8 +6,8 @@
"moduleResolution": "Node16",
"declaration": false,
"declarationMap": false,
- "lib": ["ES2021"],
"outDir": "./dist",
+ "target": "ES2021",
"types": ["node"],
"downlevelIteration": true,
"resolveJsonModule": true