mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-13 18:22:13 +08:00
16 lines
383 B
TypeScript
16 lines
383 B
TypeScript
import type { IPluginAPI } from '@fesjs/shared';
|
|
|
|
export default function (api: IPluginAPI) {
|
|
[
|
|
'addHTMLHeadScripts',
|
|
'modifyBundleConfigOpts',
|
|
'modifyBundleConfig',
|
|
'modifyBabelOpts',
|
|
'modifyBabelPresetOpts',
|
|
'chainWebpack',
|
|
'modifyPublicPathStr',
|
|
].forEach((name) => {
|
|
api.registerMethod({ name });
|
|
});
|
|
}
|