addVitePlugin allows you add a vite plugin to the Astro config. For example:
addVitePlugin
1import {2 defineIntegration,3 addVitePlugin4} from "astro-integration-kit";5import { VitePWA } from 'vite-plugin-pwa'6 7export default defineIntegration({8 // ...9 setup() {10 return {11 "astro:config:setup": (params) => {12 addVitePlugin(params, {13 plugin: VitePWA({ registerType: 'autoUpdate' })14 })15 }16 }17 }18})