Skip to content

Home > vue-metamorph > CodemodPluginContext

CodemodPluginContext type

Signature:

typescript
export type CodemodPluginContext = {
    scriptASTs: VueProgram[];
    sfcAST: AST.VDocumentFragment | null;
    styleASTs: postcss.Root[];
    filename: string;
    utils: typeof utils;
    opts: Record<string, any>;
};

References: VueProgram, AST.VDocumentFragment