UNPKG

@liip/esbuild-plugin-ast-vue

Version:

Esbuild plugin to parse Vue AST

14 lines (13 loc) 470 B
import { PartialMessage } from 'esbuild'; import type { EsbuildAstParserVueOptions } from './plugin'; export declare function resolveStyle({ filename, styleOptions, index, isModule, moduleWithNameImport, isProd, }: { filename: string; styleOptions: EsbuildAstParserVueOptions['styleOptions']; index: number; isModule: boolean; moduleWithNameImport: boolean; isProd: boolean; }): Promise<{ errors: PartialMessage[]; styleCode: string; }>;