Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

desktop: fix typescript build output

Abdullah Attab43374c53ff9
diff --git a/apps/desktop/__tests__/tsconfig.json b/apps/desktop/__tests__/tsconfig.json
new file mode 100644
index 000000000..73237f7e9
--- /dev/null
+++ b/apps/desktop/__tests__/tsconfig.json
@@ -0,0 +1,11 @@
+{
+ "extends": "../../../tsconfig.json",
+ "compilerOptions": {
+ "noEmit": true,
+ "lib": ["ESNext"],
+ "moduleResolution": "Bundler",
+ "paths": {
+ "@nn/test": ["./electron-test/index.ts"]
+ }
+ }
+}
diff --git a/apps/desktop/tsconfig.json b/apps/desktop/tsconfig.json
index 5d94c8055..a3f3c2be3 100644
--- a/apps/desktop/tsconfig.json
+++ b/apps/desktop/tsconfig.json
@@ -3,10 +3,9 @@
"compilerOptions": {
"outDir": "./dist/",
"lib": ["ESNext"],
- "moduleResolution": "Bundler",
- "paths": {
- "@nn/test": ["./__tests__/electron-test/index.ts"]
- }
+ "moduleResolution": "Bundler"
},
- "include": ["src", "global.d.ts", "__tests__"]
+ "files": ["global.d.ts"],
+ "include": ["src"],
+ "exclude": ["__tests__"]
}