/** * preset plugins for umi3 */ import type { IApi } from '@umijs/types'; import type { InspectorPluginOptions } from '@react-dev-inspector/babel-plugin'; export interface UmiInspectorPluginOptions extends InspectorPluginOptions { /** * whether to add the optional `@react-dev-inspector/babel-plugin` to umi * @default `true` in development, `false` in production */ enableBabelPlugin?: boolean; } export default function inspectorPlugin(api: IApi): void;