Skip to content

Commit

Permalink
fix: build mode
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Jan 14, 2020
1 parent 01a40f5 commit 8ee7bea
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions client/src/components/playground.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ $block: c-playground;
flex-direction: column;
box-shadow: rgb(229, 229, 229) 0px 0px 10px;
margin-bottom: 16px;
@include element(header) {
display: flex;
Expand Down
4 changes: 4 additions & 0 deletions client/src/style/mixins/markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -486,3 +486,7 @@
color: #445368;
}
}

.g-md-reset p a {
color: #2d8cf0;
}
2 changes: 1 addition & 1 deletion docs/doc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {
runtime: {
define: {
__DOC_SITE_DIR__: ENV_IS_DEV ? '/' : '/wya-doc/site/',
__DOC_MD_DIR__: ENV_IS_DEV ? '/' : '/wya-doc/docs/',
__DOC_MD_DIR__: ENV_IS_DEV ? '/docs/' : '/wya-doc/docs/',
// __DOC_MD_DIR__: (lang, name) => { return lang + name; },
__DOC_VERSION__: "1.0.0",
}
Expand Down
4 changes: 2 additions & 2 deletions node/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ class Config {
__DOC_MD_DIR__: typeof baseMDDir === 'function'
? baseMDDir
: baseMDDir
? ENV_IS_DEV ? `'/docs${baseMDDir}'` : `'${baseMDDir}'`
: `'/docs/'`
? `'${baseMDDir}'`
: `'/'`
})
],
externals: !ENV_IS_DEV
Expand Down
1 change: 0 additions & 1 deletion node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ module.exports = class App {
process.env.NODE_ENV = 'production';
this.isProd = true;

this.tempWatcher.close();
await this.process();

this.buildProcess = new BuildProcess(this);
Expand Down

0 comments on commit 8ee7bea

Please sign in to comment.