-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be able to use workspaces dependencies and tsconfig paths in contentlayer.config.ts #608
Comments
. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
😢 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
. |
Hi, I have met a similar issue. Do you find any solutions? |
no, sorry. This is very tedious. |
Hello.
I think it would be great to be able to use workspaces and Typescript paths related dependencies in
contentlayer.config.ts
.For instance, if I try it in my
tailwind.config.ts
All works as intended.
But if I do the same in
contentlayer.config.ts
Then, I get an error:
It's quite annoying because I can't do anything other than imports with absolute or relative paths.
I can't use the paths in my
tsconfig.json
, and I can't use some of my third-party libraries, unless I adapt them entirely and have to write everything in relative or absolute path in them too.EDIT: maybe it's related to ESBuild?
The text was updated successfully, but these errors were encountered: