mirror of
https://github.com/vercel/ai-elements.git
synced 2026-09-14 19:48:26 +08:00
Build fixes
This commit is contained in:
@@ -27,7 +27,7 @@ export const GET = async (
|
||||
title: page.data.title,
|
||||
description: page.data.description,
|
||||
link: `${baseUrl}${page.url}`,
|
||||
date: new Date(page.data.lastModified ?? new Date()),
|
||||
date: new Date(),
|
||||
author: [
|
||||
{
|
||||
name: "Vercel",
|
||||
|
||||
@@ -5,7 +5,6 @@ import {
|
||||
frontmatterSchema,
|
||||
metaSchema,
|
||||
} from "fumadocs-mdx/config";
|
||||
import lastModified from "fumadocs-mdx/plugins/last-modified";
|
||||
|
||||
// You can customise Zod schemas for frontmatter and `meta.json` here
|
||||
// see https://fumadocs.dev/docs/mdx/collections
|
||||
@@ -26,5 +25,4 @@ export default defineConfig({
|
||||
mdxOptions: {
|
||||
remarkPlugins: [remarkMdxMermaid],
|
||||
},
|
||||
plugins: [lastModified()],
|
||||
});
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"$schema": "https://turborepo.com/schema.json",
|
||||
"ui": "tui",
|
||||
"envMode": "loose",
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["^build"],
|
||||
|
||||
Reference in New Issue
Block a user