UNPKG

@tarojs/plugin-generator

Version:
9 lines (8 loc) 344 B
import * as parser from '@babel/parser'; import * as t from '@babel/types'; import type { IPluginContext } from '@tarojs/service'; export declare function updateConfig(options: { ctx: IPluginContext; compilerType: 'webpack5' | 'vite'; }): Promise<void>; export declare function processViteConfig(ast: parser.ParseResult<t.File>): void;