@codecov/nuxt-plugin
Version:
Official Codecov Nuxt plugin
35 lines (32 loc) • 855 B
TypeScript
import { Options } from '@codecov/bundler-plugin-core';
import { NuxtModule } from 'nuxt/schema';
/**
* Details for the Codecov Nuxt module.
*
* @example
* ```typescript
* // nuxt.config.ts
* import { defineNuxtConfig } from "nuxt/config";
*
* export default defineNuxtConfig({
* devtools: { enabled: true },
* w
* builder: "vite",
* // Ensure that the plugin is added to the modules array
* modules: [
* [
* "@codecov/nuxt-plugin",
* {
* enableBundleAnalysis: true,
* bundleName: "nuxt-bundle-analysis",
* gitService: "github",
* },
* ],
* ],
* });
* ```
*
* @see {@link @codecov/bundler-plugin-core!Options | Options} for list of options.
*/
declare const codecovNuxtPlugin: NuxtModule<Options, Partial<Options>, false>;
export { codecovNuxtPlugin as default };