We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ba4c7 commit 12b63e8Copy full SHA for 12b63e8
vite.config.js
@@ -1,6 +1,15 @@
1
import { defineConfig } from 'vitest/config'
2
+import { codecovVitePlugin } from "@codecov/vite-plugin";
3
4
export default defineConfig({
5
+ plugins: [
6
+ // Put the Codecov vite plugin after all other plugins
7
+ codecovVitePlugin({
8
+ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
9
+ bundleName: "example-javascript",
10
+ uploadToken: process.env.CODECOV_TOKEN,
11
+ }),
12
+ ],
13
test: {
14
coverage: {
15
provider: 'v8',
0 commit comments