question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] tsconfig path mapping support

See original GitHub issue
Overview of the issue

This is only a question, because i didn’t find any mention of it in the documentation: does compodoc supports the path mapping options of tsconfig. I use it heavily in my current project and it seems it is ignored because compodoc tries to resolve the paths based purely on the import statements and ignores possible defined path mappings.

Operating System, Node.js, npm, compodoc version(s)
  • Linux
  • nodejs v6.11.5
  • npm v3.10.10
  • compodoc v1.0.7
Angular configuration, a package.json file in the root folder
Compodoc installed globally or locally ?

Locally

Motivation for or Use Case

See initial description

Reproduce the error
Related issues
Suggest a Fix

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vogloblinskycommented, Mar 1, 2018

No, it is not currently supported. There is also on issue on that : https://github.com/compodoc/compodoc/issues/403

0reactions
lock[bot]commented, Sep 30, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

Read more comments on GitHub >

github_iconTop Results From Across the Web

paths - TSConfig Option - TypeScript
All of the common types in TypeScript ... How TypeScript infers types based on runtime behavior ... An overview of building a TypeScript...
Read more >
aleclarson/vite-tsconfig-paths - GitHub
Support for TypeScript's path mapping in Vite. Contribute to aleclarson/vite-tsconfig-paths development by creating an account on GitHub.
Read more >
tsconfig-paths - npm
Use this to load modules whose location is specified in the paths section of tsconfig.json or jsconfig.json . Both loading at run-time and...
Read more >
How to use paths in tsconfig.json? - Stack Overflow
This can be set up on your tsconfig.json file, as it is a TS feature. You can do like this: "compilerOptions": { "baseUrl":...
Read more >
Making Vim understand TypeScript path mapping
We can do this by searching upwards starting from the current file's directory with the :h findfile function: findfile('tsconfig.json', '.;') .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found