diff --git a/index.html b/index.html index 6ade747..861e91d 100644 --- a/index.html +++ b/index.html @@ -17,15 +17,19 @@ - - MKRhere +
- + \ No newline at end of file diff --git a/src/index.tsx b/src/index.tsx index 4e2caa2..0500a31 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,7 +1,6 @@ import React from "react"; import { createRoot } from "react-dom/client"; -import "./index.css"; import useLocation from "wouter/use-location"; diff --git a/src/util/index.ts b/src/util/index.ts index d9abcce..fe8ce04 100644 --- a/src/util/index.ts +++ b/src/util/index.ts @@ -56,8 +56,7 @@ export const get = { }, }; -import "./dynamic-gradient.css"; - +// required css is inlined in index.html export function setupCursorTracking(el: HTMLElement | null) { if (!el) return; diff --git a/tsconfig.json b/tsconfig.json index 6bc6f95..55f4aa9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "skipLibCheck": false, "esModuleInterop": false, "allowSyntheticDefaultImports": true, + "allowImportingTsExtensions": true, "strict": true, "forceConsistentCasingInFileNames": true, "module": "ESNext",