[FEATURE] tsconfig path mapping support
See original GitHub issueOverview 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:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, it is not currently supported. There is also on issue on that : https://github.com/compodoc/compodoc/issues/403
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.