ant-design/site/theme/index-css-only.js
二货机器人 b926c535ea
docs: site build script update (#32984)
* chore: rm color-less

* refactor: MV theme to variable

* docs: fix header

* chore: clean up

* chore: enable esbuild
2021-11-23 18:57:59 +08:00

20 lines
407 B
JavaScript

/**
* ZombieJ: This file is used for generate site theme css only. Which only provides dark.css and
* compact.css for theme switcher.
*/
const config = require('./index');
const homeTmpl = './template/Home/index';
const cloneConfig = {
...config,
};
cloneConfig.routes = {
path: '/',
component: './template/Layout/index',
indexRoute: { component: homeTmpl },
};
module.exports = cloneConfig;