diff options
Diffstat (limited to 'examples/with-vite-plugin-pwa/astro.config.mjs')
-rw-r--r-- | examples/with-vite-plugin-pwa/astro.config.mjs | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/examples/with-vite-plugin-pwa/astro.config.mjs b/examples/with-vite-plugin-pwa/astro.config.mjs index a14546663..7f5cebf51 100644 --- a/examples/with-vite-plugin-pwa/astro.config.mjs +++ b/examples/with-vite-plugin-pwa/astro.config.mjs @@ -1,15 +1,8 @@ +import { defineConfig } from 'astro/config'; 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} */ ({ +// https://astro.build/config +export default defineConfig({ renderers: [], vite: { plugins: [VitePWA()], |