mirror of https://github.com/alibaba/ice.git
24 lines
427 B
TypeScript
24 lines
427 B
TypeScript
import { defineConfig } from '@ice/app';
|
|
import antd from '@ice/plugin-antd';
|
|
import moment from '@ice/plugin-moment-locales';
|
|
|
|
export default defineConfig(() => ({
|
|
server: {
|
|
onDemand: true,
|
|
format: 'esm',
|
|
},
|
|
plugins: [
|
|
antd({
|
|
importStyle: true,
|
|
dark: true,
|
|
compact: true,
|
|
theme: {
|
|
'blue-base': '#fd8',
|
|
},
|
|
}),
|
|
moment({
|
|
locales: ['zh-cn'],
|
|
}),
|
|
],
|
|
}));
|