You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
gustaveWPM
changed the title
Be able to use external dependencies in contentlayer.config.ts
Be able to use workspaces dependencies and tsconfig paths in contentlayer.config.ts
Nov 29, 2023
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.
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.The text was updated successfully, but these errors were encountered: