2025-11-10 16:28:01 +08:00
|
|
|
// @ts-nocheck
|
|
|
|
|
// This file is generated by Umi automatically
|
|
|
|
|
// DO NOT CHANGE IT MANUALLY!
|
2025-11-11 10:06:36 +08:00
|
|
|
import * as Plugin_0 from 'D:/work/SHIHEZI/shz-admin/src/app.tsx';
|
2025-11-10 16:28:01 +08:00
|
|
|
import * as Plugin_1 from '@@/core/helmet.ts';
|
2025-11-11 10:06:36 +08:00
|
|
|
import * as Plugin_2 from 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-access/runtime.tsx';
|
|
|
|
|
import * as Plugin_3 from 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-initialState/runtime.tsx';
|
|
|
|
|
import * as Plugin_4 from 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-layout/runtime.tsx';
|
|
|
|
|
import * as Plugin_5 from 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-locale/runtime.tsx';
|
|
|
|
|
import * as Plugin_6 from 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-model/runtime.tsx';
|
2025-11-10 16:28:01 +08:00
|
|
|
import { PluginManager } from 'umi';
|
|
|
|
|
|
|
|
|
|
function __defaultExport (obj) {
|
|
|
|
|
if (obj.default) {
|
|
|
|
|
return typeof obj.default === 'function' ? obj.default() : obj.default
|
|
|
|
|
}
|
|
|
|
|
return obj;
|
|
|
|
|
}
|
|
|
|
|
export function getPlugins() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
apply: __defaultExport(Plugin_0),
|
2025-11-11 10:06:36 +08:00
|
|
|
path: process.env.NODE_ENV === 'production' ? void 0 : 'D:/work/SHIHEZI/shz-admin/src/app.tsx',
|
2025-11-10 16:28:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
apply: Plugin_1,
|
|
|
|
|
path: process.env.NODE_ENV === 'production' ? void 0 : '@@/core/helmet.ts',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
apply: Plugin_2,
|
2025-11-11 10:06:36 +08:00
|
|
|
path: process.env.NODE_ENV === 'production' ? void 0 : 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-access/runtime.tsx',
|
2025-11-10 16:28:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
apply: Plugin_3,
|
2025-11-11 10:06:36 +08:00
|
|
|
path: process.env.NODE_ENV === 'production' ? void 0 : 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-initialState/runtime.tsx',
|
2025-11-10 16:28:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
apply: Plugin_4,
|
2025-11-11 10:06:36 +08:00
|
|
|
path: process.env.NODE_ENV === 'production' ? void 0 : 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-layout/runtime.tsx',
|
2025-11-10 16:28:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
apply: Plugin_5,
|
2025-11-11 10:06:36 +08:00
|
|
|
path: process.env.NODE_ENV === 'production' ? void 0 : 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-locale/runtime.tsx',
|
2025-11-10 16:28:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
apply: Plugin_6,
|
2025-11-11 10:06:36 +08:00
|
|
|
path: process.env.NODE_ENV === 'production' ? void 0 : 'D:/work/SHIHEZI/shz-admin/src/.umi/plugin-model/runtime.tsx',
|
2025-11-10 16:28:01 +08:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function getValidKeys() {
|
|
|
|
|
return ['patchRoutes','patchClientRoutes','modifyContextOpts','modifyClientRenderOpts','rootContainer','innerProvider','i18nProvider','accessProvider','dataflowProvider','outerProvider','render','onRouteChange','antd','getInitialState','layout','locale','qiankun','request',];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let pluginManager = null;
|
|
|
|
|
|
|
|
|
|
export function createPluginManager() {
|
|
|
|
|
pluginManager = PluginManager.create({
|
|
|
|
|
plugins: getPlugins(),
|
|
|
|
|
validKeys: getValidKeys(),
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return pluginManager;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function getPluginManager() {
|
|
|
|
|
return pluginManager;
|
|
|
|
|
}
|