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
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.
Current examples show generated assets imported via contentlayer/generated, which is aliased via paths in the tsconfig.json. Many folks will already alias their root directory (for instance, shadcn ui projects are generated with the alias @/[subdir]). One could forgo the second alias and instead import from @/.contentlayer/generated, however it's a bit clunky. Ideally one could configure the output directory to enable a more minimal import specifier (@/content perhaps). Any chance we could reopen this issue?
We aren't able to configure the
.contentlayer
output location.Uses
Context
Appropriate lines of code:
https://github.com/samyosm/contentlayer/blob/2f491c540e1d3667577f57fa368b150bff427aaf/packages/%40contentlayer/core/src/_ArtifactsDir.ts#L12-L13
Related
#464
The text was updated successfully, but these errors were encountered: