Skip to content

Commit

Permalink
docs: update @logicflow/dumi-theme-simple version to 0.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
boyongjiong committed Aug 27, 2024
1 parent e0bcef3 commit df03e54
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 23 deletions.
42 changes: 22 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sites/docs/.dumi/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ const asyncImport = async () => {
(window as any).Portal = ReactNodeRegistry.Portal;
};

if (window) {
if (typeof window !== 'undefined') {
asyncImport();
}
5 changes: 4 additions & 1 deletion sites/docs/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,10 @@ export default defineConfig({
},
},
},
// mako: {}, // 开启 mako 打包,目前会导致 Examples 模块不可用,暂时关闭,恢复至 webpack 打包
// TODO: 开启 mako 打包,目前会导致 Examples 模块不可用,暂时关闭,恢复至 webpack 打包
// mako: {},
// TODO: 开启 SSR 后,umi.server.js 中 process.versions.node.split(".") 会报错, Cannot read properties of undefined (reading 'split')
// ssr: {}, // 先关闭,后续测试是否由 LogicFlow 引起报错,目前看是 umi 的原因
mfsu: {},
alias: {
'@': __dirname,
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@logicflow/core": "workspace:*",
"@logicflow/dumi-theme-simple": "^0.0.19",
"@logicflow/dumi-theme-simple": "^0.0.20",
"@logicflow/extension": "workspace:*",
"@logicflow/react-node-registry": "workspace:*",
"antd": "^5.4.0",
Expand Down

0 comments on commit df03e54

Please sign in to comment.