Skip to content

Build your personal knowledge base with Trilium Notes

chore(test/client): solve dependency error due to CJS

Elian Doran32bc24b4c839
diff --git a/apps/client/webpack.config.js b/apps/client/webpack.config.cjs
similarity index 100%
rename from apps/client/webpack.config.js
rename to apps/client/webpack.config.cjs
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 8084832079..7c1ad98ca8 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -16,6 +16,7 @@
"skipLibCheck": true,
"strict": true,
"target": "es2022",
- "customConditions": ["development"]
+ "customConditions": ["development"],
+ "verbatimModuleSyntax": true
}
}