Replace relative imports with util import alias

This commit is contained in:
Sat Naing
2022-09-11 14:15:52 +06:30
parent 7017518c2c
commit 8b4cda6b73
7 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -4,9 +4,9 @@ import Header from "@components/Header.astro";
import Card from "@components/Card.astro";
import Footer from "@components/Footer.astro";
import LinkButton from "@components/LinkButton.astro";
import getSortedPosts from "src/utils/getSortedPosts";
import Hr from "@components/Hr.astro";
import type { Frontmatter } from "src/utils/types";
import getSortedPosts from "@utils/getSortedPosts";
import type { Frontmatter } from "@utils/types";
const posts = await Astro.glob<Frontmatter>("../contents/*.md");