nocobase/packages/core/client/.umirc.ts
2022-06-14 10:56:29 +08:00

25 lines
547 B
TypeScript

import { resolveNocobasePackagesAlias } from '@nocobase/devtools/umiConfig';
import { defineConfig } from 'dumi';
export default defineConfig({
title: 'NocoBase',
// outputPath: `./docs/dist/${lang}`,
mode: 'site',
resolve: {
includes: ['./'],
},
// locales: [[lang, lang]],
hash: true,
logo: 'https://www.nocobase.com/images/logo.png',
navs: [
null,
{
title: 'GitHub',
path: 'https://github.com/nocobase/nocobase',
},
],
chainWebpack(config) {
resolveNocobasePackagesAlias(config);
},
});