Setting dist in doczrc.js doesn't do anything
See original GitHub issueBug Report
When I try to set the dist
attribute of doczrc.js
, no matter what I set it to, dist is still built to .docz/dist/
.
A clear and concise description of what the bug is.
To Reproduce
- yarn add docz --dev
14:44:41 ant@vanta ~/Projects/style-guide ⬡ v9.5.0 master ✘ ✖ ✹ ✭ 6s
$ cat doczrc.js
export default {
title: 'My Components',
description: 'Styleguide for Me',
dist: 'dist'
}%
14:48:45 ant@vanta ~/Projects/style-guide ⬡ v9.5.0 master ✘ ✖ ✹ ✭
$ yarn docz build
yarn run v1.7.0
$ /home/ant/Projects/style-guide/node_modules/.bin/docz build
▶ start Creating an optimized production build...
✔ success Compiled successfully.
File sizes after gzip:
125.02 KB dist/static/js/vendors.b1171617.js
7.35 KB dist/static/js/components-logo-logo.37633655.js
1.15 KB dist/static/js/runtime~app.00554158.js
958 B dist/static/js/components-button-button.f8fdf6cf.js
845 B (-2 B) dist/static/js/app.e6da3127.js
Done in 6.75s.
In order to allow us to quickly reproduce you issue please include a link to a reproduction repository.
Expected behavior
I expect the built static files to be written to dist
.
Enviroment
- OS: [Ubuntu 18.04]
- Node/npm version: [Node v9.5.0, 5.6.0]
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Setting dist in doczrc.js doesn't do anything · Issue #92 - GitHub
Bug Report When I try to set the dist attribute of doczrc.js, no matter what I set it to, dist is still built...
Read more >Project Configuration - Docz
Like use plugins, chose themes, set project title, and other things. To customize your project configuration you can use doczrc.js following this reference....
Read more >How to Deploy Docz on Gitlab Pages | Haseeb Majid
First create a new folder called docs in your project root. Then we will create our first page called Introduction.mdx (this name doesn't...
Read more >Must use import to load ES module - node.js - Stack Overflow
\node_modules\got\dist\source\index.js require() of ES modules is not supported. What. I'm not using require , I'm using import ...
Read more >Docz: It Has Never Been So Easy to Document Your Things! - Morioh
You can have yarn docz build emit to a different directory by providing a path to the dest field in your doczrc.js or...
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
I think it should also be changed on this Introduction page: https://www.docz.site/introduction/deploying-your-docs
For sure @Jonarzz, I didn’t see this error, I’ll fix it now, thanks!