docz: Docz build is not working for 1.0.0-rc.3
Bug Report
The yarn docz:build
generates the bundle successfully but it’s broken (there are no components on the sidebar).
Describe the bug
I was able to write documentation in dev environment using yarn docz:dev
but when I tried to generate a build to host this on a static file server, the rendered didn’t have any components.
A clear and concise description of what the bug is.
It looks like this in dev:
Compared to this (after creating the production build):
To Reproduce
- Write a couple of
.mdx
file(s) - Check if it’s working – run
yarn docz:dev
and see it in the browser - Create production build –
yarn docz:build
- Check the generated bundle:
cd .docz/dist python -m SimpleHTTPServer
In order to allow us to quickly reproduce you issue please include a link to a reproduction repository. It’s internal repo, can’t provide a link
Expected behavior
Should generate the bundle similar to dev environment. When I switched the docz version to 0.13.7
the same setup worked fine.
Environment
- OS: OSX 10.14.3
- yarn version: 1.13.0
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 17 (6 by maintainers)
Hi guys, can you check which version of
docz-core
are installed? Btw, I’m getting some fixes and today I’ll release a new release candidate version.Almost same as #710
I made a repo with this problem https://github.com/ivan-dalmet/docz-issue-sandbox/tree/master/issue-710