Skip to content

Commit e77218a

Browse files
authored
Cleaned up code (#28)
1 parent 7c3848c commit e77218a

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=1" />
4+
<link rel="shortcut icon" href="/favicon.svg?v=1" />
65
<meta
76
name="viewport"
87
content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no"
98
/>
109
</head>
11-
1210
<body>
1311
<div id="root"></div>
1412
<script type="module" src="/src/main.tsx"></script>

src/src/pages/Root/Root.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Outlet } from "react-router-dom";
2-
import { PageLayout } from "../../components/PageLayout";
2+
import { PageLayout } from "../../components";
33
import { RootProps } from "./Root.types";
44

55
export function Root({}: RootProps) {

src/tsconfig.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,24 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"compilerOptions": {
44
"allowImportingTsExtensions": true,
5+
"allowJs": true,
56
"composite": true,
7+
"esModuleInterop": true,
8+
"incremental": true,
69
"isolatedModules": true,
710
"jsx": "react-jsx",
811
"lib": ["DOM", "DOM.Iterable", "ESNext"],
9-
"noEmit": true,
10-
"noUnusedLocals": true,
1112
"module": "esnext",
1213
"moduleResolution": "bundler",
14+
"noEmit": true,
15+
"noUnusedLocals": true,
1316
"preserveWatchOutput": true,
1417
"removeComments": true,
1518
"resolveJsonModule": true,
1619
"skipLibCheck": true,
1720
"strict": true,
1821
"target": "esnext"
1922
},
20-
"include": ["src/"]
23+
"include": ["src/"],
24+
"exclude": ["node_modules"]
2125
}

0 commit comments

Comments
 (0)