2022-06-14 10:56:29 +08:00
|
|
|
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',
|
|
|
|
},
|
|
|
|
],
|
2023-03-19 08:18:50 +08:00
|
|
|
chainWebpack(memo) {
|
|
|
|
resolveNocobasePackagesAlias(memo);
|
2022-06-14 10:56:29 +08:00
|
|
|
},
|
|
|
|
});
|