Back to Qwik

Qwik City.Buildtime.Api

packages/qwik-city/src/buildtime/vite/qwik-city.buildtime.api.md

1.7.11.9 KB
Original Source

API Report File for "@builder.io/qwik-city"

Do not edit this file. It is a report generated by API Extractor.

ts

import type { BuiltinsWithOptionalParams } from 'svgo/plugins/plugins-types';
import type { CompileOptions } from '@mdx-js/mdx';
import type { Config } from 'svgo';
import { ConfigEnv } from 'vite';
import type { Plugin as Plugin_2 } from 'vite';
import type { PluginOption } from 'vite';
import { UserConfigExport } from 'vite';

// @public (undocumented)
export function extendConfig(baseConfigExport: UserConfigExport, serverConfigExport: UserConfigExport): (env: ConfigEnv) => Promise<Record<string, any>>;

// @public (undocumented)
export type MdxOptions = CompileOptions;

// @public (undocumented)
export function qwikCity(userOpts?: QwikCityVitePluginOptions): PluginOption[];

// Warning: (ae-forgotten-export) The symbol "P" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "QwikCityPluginApi" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export interface QwikCityPlugin extends P<QwikCityPluginApi> {
    // (undocumented)
    name: 'vite-plugin-qwik-city';
}

// Warning: (ae-forgotten-export) The symbol "PluginOptions" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export interface QwikCityVitePluginOptions extends Omit<PluginOptions, 'basePathname'> {
    // Warning: (ae-forgotten-export) The symbol "ImageOptimizationOptions" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    imageOptimization?: ImageOptimizationOptions;
    // (undocumented)
    mdx?: MdxOptions;
    // Warning: (ae-forgotten-export) The symbol "MdxPlugins" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    mdxPlugins?: MdxPlugins;
    // (undocumented)
    platform?: Record<string, unknown>;
}

// (No @packageDocumentation comment for this package)