Add aliases to vite
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { getNormalizedPost } from "~/utils/getNormalizedPost";
|
||||
|
||||
const load = async function () {
|
||||
const posts = import.meta.glob("../data/posts/**/*.{md,mdx}", {
|
||||
const posts = import.meta.glob("~/data/posts/**/*.{md,mdx}", {
|
||||
eager: true,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user