diff --git a/index.html b/index.html
index 30df7c4..dbbeec0 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/src/main.ts b/src/main.ts
index f6ce5cc..76e89ac 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -7,7 +7,7 @@ document.addEventListener("touchstart", () => {
document.body.setAttribute("inputMode", "touch")
})
-const root = document.querySelector("#root")!
+const root = document.querySelector("#app")!
mount(App, { root, maxFrameMs: 16 })
document.body.addEventListener("contextmenu", (e) => {
diff --git a/tsconfig.json b/tsconfig.json
index 499d307..abfdb7d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,9 +1,9 @@
{
"compilerOptions": {
- "target": "ES2022",
+ "target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
- "lib": ["ES2022", "DOM", "DOM.Iterable"],
+ "lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */
@@ -20,5 +20,6 @@
"noFallthroughCasesInSwitch": true,
"jsx": "preserve"
},
- "include": ["src"]
+ "include": ["src"],
+ "references": [{ "path": "./tsconfig.node.json" }]
}
diff --git a/tsconfig.node.json b/tsconfig.node.json
new file mode 100644
index 0000000..9d31e2a
--- /dev/null
+++ b/tsconfig.node.json
@@ -0,0 +1,9 @@
+{
+ "compilerOptions": {
+ "composite": true,
+ "module": "ESNext",
+ "moduleResolution": "Node",
+ "allowSyntheticDefaultImports": true
+ },
+ "include": ["vite.config.ts"]
+}