Replies: 1 comment 5 replies
-
@HQ92 I believe NextJS handles this under the hood as of Next@9.4. I think this stackoverflow post may get you up and running with your path aliases for now though --> stackoverflow post |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to modify the payload express app to use custom path aliases in tsconfig. VS Code recognises my aliases, but when building the app it return 'cannot find module '@utils/index'. My aliases work in my nextjs frontend that consumes the api, but the components that nextjs imports do not seem to carry those aliases forward and error on build.
Just wondering if I'm missing something.
Beta Was this translation helpful? Give feedback.
All reactions