import { TaroPlatformWeb } from '@tarojs/service'; import type { IPluginContext, TConfig } from '@tarojs/service'; export default class H5 extends TaroPlatformWeb { platform: string; runtimePath: string[] | string; constructor(ctx: IPluginContext, config: TConfig); get framework(): "vue3" | "solid" | "react" | "preact" | "none"; get useHtmlComponents(): boolean; get useDeprecatedAdapterComponent(): boolean; get apiLibrary(): string; get aliasFramework(): string; protected mainFields: string[]; get componentLibrary(): string; get componentAdapter(): string; get routerLibrary(): string; get libraryDefinition(): string; /** * 修改 Webpack 配置 */ modifyWebpackConfig(): void; /** * 修改 Vite 配置 */ modifyViteConfig(): void; }