Replies: 1 comment
-
|
Docusaurus doesn't read tsconfig. You need to inject custom Webpack config through a custom plugin that uses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are using docusaurus inside a monorepo with all the projects following this convention inside
tsconfig:{ "compilerOptions": { "baseUrl": ".", "paths": { "@/*": ["./src/*"] } } }It is kind of confusing that in all our projects we can use this syntax:
Except for Docusaurus we have to use what is being dictated:
Is there a way we could use our own "path" definitions. Right now the
tsconfig.jsonat the root of the project is completely ignored duringdocusaurus buildanddocusaurus start.Beta Was this translation helpful? Give feedback.
All reactions