Skip to content

Commit

Permalink
chore: relative imports for package
Browse files Browse the repository at this point in the history
  • Loading branch information
johnchourajr committed May 30, 2024
1 parent c461f84 commit 1e8e1d1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TypeScale } from "@/components/TypeScale";
import { headlineDefault, textDefault } from "@buen/type";
import Image from "next/image";
import Link from "next/link";
import { headlineDefault, textDefault } from "../../../src/index";

export default function Home() {
return (
Expand Down
2 changes: 1 addition & 1 deletion example/src/components/TypeScale.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TypeDefinition } from "@buen/type";
import clsx from "clsx";
import { TypeDefinition } from "../../../src/index";

export type TypeScaleProps = {
typeData: Record<string, TypeDefinition>;
Expand Down
2 changes: 1 addition & 1 deletion example/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { buenTypeTailwind } from "@buen/type";
import type { Config } from "tailwindcss";
import { buenTypeTailwind } from "../src/index";

const config: Config = {
content: [
Expand Down
1 change: 1 addition & 0 deletions example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down

0 comments on commit 1e8e1d1

Please sign in to comment.