Docz dosent find custom paths
See original GitHub issueHi, I have this config on my webpack:
resolve: {
modules: [
'.',
'..',
__dirname,
__dirname + '/js',
'node_modules'
]
}
So, in can import without use things like ‘…/’
import Link from 'components/Link'
But on docz, got a error (file not found)
ERROR Failed to compile with 8 errors17:02:37
These dependencies were not found:
* components/base in ./js/components/button/ButtonCircle.jsx, ./js/components/button/ButtonSquare.jsx
* components/icons in ./js/components/button/ButtonCircle.jsx, ./js/components/button/ButtonSquare.jsx
* components/link in ./js/components/button/Button.jsx
Is there a way to config root paths to find components on docz?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Docz dosent find custom paths · Issue #48 - GitHub
Hi, I have this config on my webpack: resolve: { modules: [ '.', '..', __dirname, __dirname + '/js', 'node_modules' ] } So, in...
Read more >TypeScript custom paths do not work without barreling
Hey @C_Ogoo so the paths are all correct because it works when an index.ts file exists with service classes exported... Also I've been...
Read more >Documentation - Module Resolution - TypeScript
Please see the Modules documentation for more information. ... Use non-relative paths when importing any of your external dependencies.
Read more >File path formats on Windows systems | Microsoft Learn
In this article, learn about file path formats on Windows systems, such as traditional DOS paths, DOS device paths, and universal naming ...
Read more >Static Application Security Testing (SAST) - GitLab Docs
The ADDITIONAL_CA_CERT_BUNDLE value can also be configured as a custom variable in the UI, either as a file , which requires the path...
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
Is there current a way that docz can handle aliases afforded by the
paths
option in a giventsconfig.json
file? I have alias@/path/to/component
that resolves to thesrc
directory and it currently won’t work 😕@dfee confirmed, I’m getting them as well