Skip to content

🎥 Make videos programmatically with React

warn about typescript aliases problem

Jonny Burger50f7f9c1a4e9
diff --git a/packages/docs/docs/miscellaneous/ts-aliases.mdx b/packages/docs/docs/miscellaneous/ts-aliases.mdx
index 8908c0e008..859994a671 100644
--- a/packages/docs/docs/miscellaneous/ts-aliases.mdx
+++ b/packages/docs/docs/miscellaneous/ts-aliases.mdx
@@ -73,6 +73,12 @@ Config.overrideWebpackConfig((config) => {
});
```
+:::warning
+A common problem when enabling TypeScript aliases is that `import {} from "remotion"` will start mapping to the `remotion` folder that you may have in your project, like is the case in some of our templates.
+
+We recommend that you don't use TypeScript aliases.
+:::
+
## See also
- [Overriding webpack config](/docs/webpack)