@codecov/astro-plugin
Version:
32 lines (29 loc) • 862 B
text/typescript
import { Options } from '@codecov/bundler-plugin-core';
import { AstroIntegration } from 'astro';
/**
* Details for the Codecov Astro plugin.
*
* @example
* ```typescript
* // astro.config.mjs
* import { defineConfig } from "astro/config";
* import { codecovAstroPlugin } from "@codecov/astro-plugin";
*
* // https://astro.build/config
* export default defineConfig({
* // other config settings
* integrations: [
* // place this after all other integrations
* codecovAstroPlugin({
* enableBundleAnalysis: true,
* bundleName: "example-astro-bundle",
* gitService: "github",
* }),
* ],
* });
* ```
*
* @see {@link @codecov/bundler-plugin-core!Options | Options} for list of options.
*/
declare const codecovAstroPlugin: (options: Options) => AstroIntegration;
export { codecovAstroPlugin as default };