interface ModuleJSON {
    ast: ProgramNode;
    attributes: Record<string, string>;
    code: string;
    customTransformCache: boolean;
    dependencies: string[];
    id: string;
    meta: CustomPluginOptions;
    moduleSideEffects: boolean | "no-treeshake";
    originalCode: string;
    originalSourcemap: null | ExistingDecodedSourceMap;
    resolvedIds: ResolvedIdMap;
    sourcemapChain: DecodedSourceMapOrMissing[];
    syntheticNamedExports: string | boolean;
    transformDependencies: string[];
    transformFiles: undefined | EmittedFile[];
}

Hierarchy (view full)

Properties

attributes: Record<string, string>
code: string
customTransformCache: boolean
dependencies: string[]
id: string
moduleSideEffects: boolean | "no-treeshake"
originalCode: string
originalSourcemap: null | ExistingDecodedSourceMap
resolvedIds: ResolvedIdMap
sourcemapChain: DecodedSourceMapOrMissing[]
syntheticNamedExports: string | boolean
transformDependencies: string[]
transformFiles: undefined | EmittedFile[]