patch(): Patched type aliases

Changed inferred path i.e., "./",
"../", "../../". into @ import
path.
This commit is contained in:
kami
2026-03-04 04:48:39 +08:00
parent 4ae9e6c924
commit 001055ee51
9 changed files with 17 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
---
import { getCollection, render } from 'astro:content';
import BlogPost from '../../../layouts/BlogPost.astro';
import BlogPost from '@layouts/BlogPost.astro';
export async function getStaticPaths() {
const posts = await getCollection('uni');