Can't use ts alias in schema related files with drizzle-kit

Hey 👋🏿 I have a @ -> src path alias setup in my tsconfig. I made use of it in one of my schema files:

ex: import { tableA } from '@/lib/entities/tableA/schema

whenever I run drizzle-kit generate:XX, I get this error:
Cannot find module '@/lib/entities/tableA/schema'

How can I make drizzle-kit work with my custom aliases?
Was this page helpful?