mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
build!: update import alias to @/*
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { defineCollection, z } from "astro:content";
|
||||
import { glob } from "astro/loaders";
|
||||
import { SITE } from "@config";
|
||||
import { SITE } from "@/config";
|
||||
|
||||
const blog = defineCollection({
|
||||
loader: glob({ pattern: "**/[^_]*.md", base: "./src/data/blog" }),
|
||||
|
||||
Reference in New Issue
Block a user