diff --git a/tsconfig.json b/tsconfig.json index c4b0a8626..f4e9e951b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,11 +2,12 @@ "compilerOptions": { "lib": ["ESNext", "DOM", "DOM.Iterable"], "jsx": "react", - "baseUrl": "./src", + "rootDir": "./src", "outDir": "./dist", - "moduleResolution": "node", + "module": "nodenext", + "moduleResolution": "nodenext", "paths": { - "stremio/*": ["*"], + "stremio/*": ["./src/*"], }, "resolveJsonModule": true, "esModuleInterop": true,