mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2026-09-04 15:04:26 +08:00
23 lines
467 B
TypeScript
23 lines
467 B
TypeScript
import type { IPluginAPI } from '@fesjs/shared';
|
|
|
|
export default (api: IPluginAPI) => {
|
|
api.describe({
|
|
key: 'viteOption',
|
|
config: {
|
|
schema(joi: any) {
|
|
return joi.object();
|
|
},
|
|
default: {},
|
|
},
|
|
});
|
|
api.describe({
|
|
key: 'vite',
|
|
config: {
|
|
schema(joi: any) {
|
|
return joi.object();
|
|
},
|
|
default: {},
|
|
},
|
|
});
|
|
};
|