From 2faf2e34331703b3bdea3eb487cb8799c8d65377 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 19 Sep 2023 18:13:57 +0200 Subject: refactor(build): replace paths aliases with relative paths Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases. --- src/utils/helpers/projects.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils/helpers/projects.ts') diff --git a/src/utils/helpers/projects.ts b/src/utils/helpers/projects.ts index 88f4516..0e4de7d 100644 --- a/src/utils/helpers/projects.ts +++ b/src/utils/helpers/projects.ts @@ -1,7 +1,7 @@ -import { ProjectCard, ProjectPreview } from '@ts/types/app'; -import { MDXProjectMeta } from '@ts/types/mdx'; -import { readdirSync } from 'fs'; -import path from 'path'; +import { readdirSync } from 'node:fs'; +import path from 'node:path'; +import { ProjectCard, ProjectPreview } from '../../types/app'; +import { MDXProjectMeta } from '../../types/mdx'; /** * Retrieve all the projects filename. -- cgit v1.2.3