summaryrefslogtreecommitdiff
path: root/examples/with-vite-plugin-pwa/astro.config.mjs
blob: 05dac6602ba8cc3aa6ee189885f6675682ad154a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { VitePWA } from 'vite-plugin-pwa';

// Full Astro Configuration API Documentation:
// https://docs.astro.build/reference/configuration-reference

// @type-check enabled!
// VSCode and other TypeScript-enabled text editors will provide auto-completion,
// helpful tooltips, and warnings if your exported object is invalid.
// You can disable this by removing "@ts-check" and `@type` comments below.

// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
	vite: {
		plugins: [VitePWA()],
	},
});