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/components/atoms/images/logo.module.scss | 2 +- src/components/atoms/images/logo.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/atoms/images') diff --git a/src/components/atoms/images/logo.module.scss b/src/components/atoms/images/logo.module.scss index f802a4b..bd4ee90 100644 --- a/src/components/atoms/images/logo.module.scss +++ b/src/components/atoms/images/logo.module.scss @@ -1,4 +1,4 @@ -@use "@styles/abstracts/functions" as fun; +@use "../../../styles/abstracts/functions" as fun; .wrapper { width: var(--logo-size, fun.convert-px(100)); diff --git a/src/components/atoms/images/logo.test.tsx b/src/components/atoms/images/logo.test.tsx index aabfd17..e56a737 100644 --- a/src/components/atoms/images/logo.test.tsx +++ b/src/components/atoms/images/logo.test.tsx @@ -1,4 +1,4 @@ -import { render, screen } from '@tests/utils'; +import { render, screen } from '../../../../tests/utils'; import Logo from './logo'; describe('Logo', () => { -- cgit v1.2.3