-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.ts
41 lines (37 loc) · 1.01 KB
/
astro.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import preact from '@astrojs/preact';
import sitemap from '@astrojs/sitemap';
import pwa from '@vite-pwa/astro';
import { defineConfig } from 'astro/config';
import compress from 'astro-compress';
import robotsTxt from 'astro-robots-txt';
import webmanifest from 'astro-webmanifest';
export default defineConfig({
integrations: [
preact(),
sitemap(),
robotsTxt(),
webmanifest({
background_color: '#FDFFF5',
config: {
insertAppleTouchLinks: true,
insertThemeColorMeta: false,
},
description: 'Portfolio de MarioMH en línea de comandos.',
display: 'standalone',
icon: 'public/favicon.svg',
name: 'MarioMH | Línea de comandos',
short_name: 'MarioMH',
start_url: '/',
theme_color: '#C6F118',
}),
pwa({
includeAssets: ['fonts/**/*.otf', 'translations/**/*.json', 'fonts/**/*.woff2', '**/*.svg', '**/*.png'],
registerType: 'autoUpdate',
workbox: {
globPatterns: ['**/*.{js,css,html,svg,png}'],
},
}),
compress(),
],
site: 'https://terminal.mariomh.com',
});