mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
17 lines
508 B
TypeScript
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>,
|
|
)
|