diff --git a/.babelrc.js b/.babelrc.js index fc64734..75d684e 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -10,7 +10,7 @@ module.exports = { genConditionalClasses: true, treeshakeCompensation: true, aliases: { - '@': './src', + '@/*': [path.join(__dirname, '*')], }, unstable_moduleResolution: { type: 'commonJS', diff --git a/app/layout.tsx b/app/layout.tsx index d91cdce..72e26de 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,7 +3,7 @@ import type { Metadata } from 'next'; import '@/shared/ui/styles/globals.css'; import stylex from '@stylexjs/stylex'; import React from 'react'; -import { Navbar } from '@/widgets/navbar'; +import { Navbar } from '@/widgets/Navbar'; export const metadata: Metadata = { title: 'GDSC DJU',