You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
692 B
14 lines
692 B
6 months ago
|
import type { Plugin } from 'vite';
|
||
|
import type { SFCDescriptor, SFCParseResult } from '@vue/compiler-sfc';
|
||
|
import type { TransformPluginContext } from 'rollup';
|
||
|
import { ResolvedOptions } from './descriptorCache';
|
||
|
export declare function uniAppUVuePlugin(): Plugin;
|
||
|
interface TransformVueResult {
|
||
|
errors: SFCParseResult['errors'];
|
||
|
uts?: string;
|
||
|
js?: string;
|
||
|
descriptor: SFCDescriptor;
|
||
|
}
|
||
|
export declare function transformVue(code: string, filename: string, options: ResolvedOptions, pluginContext: TransformPluginContext | undefined, isAppVue: ((id: string) => boolean) | undefined, normalizeEasyComSource: (source: string) => string): Promise<TransformVueResult>;
|
||
|
export {};
|