Skip to content

Commit 36337e0

Browse files
committed
chore: fix Vercel build
1 parent 532304d commit 36337e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/module/src/runtime/utils/content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { parseMarkdown } from '@nuxtjs/mdc/runtime'
33
import { omit } from './object'
44
import type { DatabaseItem } from 'nuxt-studio/app'
55
import { compressTree } from '@nuxt/content/runtime'
6-
import { ContentFileExtension } from '../../../../app/src/types'
6+
import { ContentFileExtension } from 'nuxt-studio/app'
77
import { parseFrontMatter } from 'remark-mdc'
88
import { destr } from 'destr'
99
import { visit } from 'unist-util-visit'

src/module/src/runtime/utils/serialization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const yamlToJson = (data: string) => {
66
new yaml.Type('tag:yaml.org,2002:timestamp', {
77
kind: 'scalar',
88
resolve: () => false,
9-
construct: data => data,
9+
construct: (data: unknown) => data,
1010
}),
1111
],
1212
})

0 commit comments

Comments
 (0)