Roo-Code/webview-ui/src/index.tsx
2025-05-21 21:01:20 -07:00

17 lines
508 B
TypeScript

import { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import "./index.css"
import App from "./App"
import "../node_modules/@vscode/codicons/dist/codicon.css"
import { getHighlighter } from "./utils/highlighter"
// Initialize Shiki early to hide initialization latency (async)
getHighlighter().catch((error: Error) => console.error("Failed to initialize Shiki highlighter:", error))
createRoot(document.getElementById("root")!).render(
<StrictMode>
<App />
</StrictMode>,
)