From ceb8f688cfa035e1862c80d995272340dc4ef5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateus=20Felipe=20Gon=C3=A7alves?= Date: Mon, 29 May 2023 18:21:19 +0000 Subject: [PATCH] fix(contentlayer): use relative imports instead of ts paths on `Post` definition ref https://github.com/contentlayerdev/contentlayer/issues/238 --- content/definitions/Post.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/definitions/Post.ts b/content/definitions/Post.ts index d107eb20..e9db3a4d 100644 --- a/content/definitions/Post.ts +++ b/content/definitions/Post.ts @@ -1,5 +1,5 @@ import { defineDocumentType } from 'contentlayer/source-files' -import { slug } from '@/shared/lib/slug' +import { slug } from '../../src/shared/lib/slug' import { authors } from '../../src/shared/lib/authors' export const Post = defineDocumentType(() => ({