mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
fix(web): import Chrome extension URL through the mapped @lib alias
Three components imported `@repo/lib/constants`, which nothing resolves: apps/web/tsconfig.json maps @repo/ui/*, @ui/*, @lib/* and @hooks/* but not @repo/lib/*, so resolution fell through to the package's own exports map (`"./*": "./*"`) and landed on the extensionless `packages/lib/constants`. Bundlers paper over it; tsc reports TS2307 for all three. Use `@lib/constants`, the alias every other consumer in the repo already uses.
This commit is contained in:
parent
18a2dfbe39
commit
56ef8ae3d1
3 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
"use client"
|
||||
|
||||
import { CHROME_EXTENSION_URL } from "@repo/lib/constants"
|
||||
import { CHROME_EXTENSION_URL } from "@lib/constants"
|
||||
import { cn } from "@lib/utils"
|
||||
import { dmSans125ClassName } from "@/lib/fonts"
|
||||
import { ChromeIcon } from "@/components/integration-icons"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
"use client"
|
||||
|
||||
import { CHROME_EXTENSION_URL } from "@repo/lib/constants"
|
||||
import { CHROME_EXTENSION_URL } from "@lib/constants"
|
||||
import type { IntegrationParamValue } from "@/lib/search-params"
|
||||
import { cn } from "@lib/utils"
|
||||
import { dmSansClassName } from "@/lib/fonts"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { Button } from "@ui/components/button"
|
|||
import { cn } from "@lib/utils"
|
||||
import { dmSansClassName } from "@/lib/fonts"
|
||||
import Image from "next/image"
|
||||
import { CHROME_EXTENSION_URL } from "@repo/lib/constants"
|
||||
import { CHROME_EXTENSION_URL } from "@lib/constants"
|
||||
|
||||
interface XBookmarksDetailViewProps {
|
||||
onBack: () => void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue