client/web: add tsconfig.json

Also allows us to use absolute import paths (see change in index.tsx).

Updates tailscale/corp#13775

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
This commit is contained in:
Sonia Appasamy
2023-08-11 11:44:57 -04:00
committed by Sonia Appasamy
parent 21e32b23f7
commit d5ac18d2c4
4 changed files with 51 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
import React from "react"
import { createRoot } from "react-dom/client"
import App from "./components/app"
import App from "src/components/app"
const rootEl = document.createElement("div")
rootEl.id = "app-root"