From 5a594cb5c11dd223faa979c9427775828a066bda Mon Sep 17 00:00:00 2001 From: Sebastian Pietras Date: Sat, 6 Apr 2024 00:02:59 +0200 Subject: [PATCH] Cleaned up code --- src/index.html | 4 +--- src/src/pages/Root/Root.tsx | 2 +- src/tsconfig.json | 10 +++++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/index.html b/src/index.html index bbab956..77b693a 100644 --- a/src/index.html +++ b/src/index.html @@ -1,14 +1,12 @@ - - + -
diff --git a/src/src/pages/Root/Root.tsx b/src/src/pages/Root/Root.tsx index 7da0410..0785565 100644 --- a/src/src/pages/Root/Root.tsx +++ b/src/src/pages/Root/Root.tsx @@ -1,5 +1,5 @@ import { Outlet } from "react-router-dom"; -import { PageLayout } from "../../components/PageLayout"; +import { PageLayout } from "../../components"; import { RootProps } from "./Root.types"; export function Root({}: RootProps) { diff --git a/src/tsconfig.json b/src/tsconfig.json index 3129640..0a97997 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -2,14 +2,17 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "composite": true, + "esModuleInterop": true, + "incremental": true, "isolatedModules": true, "jsx": "react-jsx", "lib": ["DOM", "DOM.Iterable", "ESNext"], - "noEmit": true, - "noUnusedLocals": true, "module": "esnext", "moduleResolution": "bundler", + "noEmit": true, + "noUnusedLocals": true, "preserveWatchOutput": true, "removeComments": true, "resolveJsonModule": true, @@ -17,5 +20,6 @@ "strict": true, "target": "esnext" }, - "include": ["src/"] + "include": ["src/"], + "exclude": ["node_modules"] }