25 lines
547 B
TypeScript
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);
|
|
},
|
|
});
|