remotion-dev / remotion

🎥 Make videos programmatically with React

Home Page:https://remotion.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make typescript path aliases work in files used by remotion

robinsmith-source opened this issue · comments

commented

Feature Request 🛍️

As the title already tells, typescript path aliases don't work when using them inside files that are related to the remotion library.
Inside the development environment I haven't found any issues about that, but when it comes to use the remotion cli e.g for rendering out the video. An error is thrown, that the path couldn't be resolved here.

Use Case

This is pretty useful, when using a monorepo, defining some path aliases really make things easier and I would appreciate some improvements here.

See here how to enable: https://www.remotion.dev/docs/typescript-aliases

I don't plan to add native support for those - in my experience, it also causes some friction which I don't want to have to help debug. (e.g. importing a file in multiple projects or having a remotion folder conflict with the remotion package)