chore: fix type check

This commit is contained in:
Stephen Zhou 2025-05-06 18:31:51 +08:00
parent b1fcafa540
commit 59ec8926ee
No known key found for this signature in database
1 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,7 @@
/* @moduleResolution bundler */
import "./tw-css-plugin"
import path, { dirname, resolve } from "node:path"
import { fileURLToPath } from "node:url"
import path, { resolve } from "node:path"
import { getIconCollections, iconsPlugin } from "@egoist/tailwindcss-icons"
import { cleanupSVG, importDirectorySync, isEmptyColor, parseColors, runSVGO } from "@iconify/tools"
@ -13,9 +12,7 @@ import type { Config } from "tailwindcss/types/config"
import { withUIKit } from "tailwindcss-uikit-colors/src/macos/tailwind"
import { workspaceRootSync } from "workspace-root"
const _dirname =
typeof __dirname !== "undefined" ? __dirname : dirname(fileURLToPath(import.meta.url))
const workspaceRoot = workspaceRootSync(_dirname)
const workspaceRoot = workspaceRootSync(__dirname)
const twConfig = {
darkMode: ["class", '[data-theme="dark"]'],
content: [],