Skip to content

Build your personal knowledge base with Trilium Notes

server-esm: Configure for dynamic imports

Elian Doran6de1291efaf8
diff --git a/tsconfig.json b/tsconfig.json
index b8e0605f46..daa0c7e490 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"moduleResolution": "Bundler",
- "module": "ES2015",
- "target": "ES2018",
+ "module": "ES2022",
+ "target": "ES2020",
"declaration": false,
"sourceMap": true,
"outDir": "./build",