forked from acesdit/snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
47 lines (45 loc) · 1.1 KB
/
astro.config.mjs
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
42
43
44
45
46
47
import { defineConfig } from 'astro/config';
import AstroPWA from '@vite-pwa/astro'
import tailwind from "@astrojs/tailwind";
const manifest = {
name: "ACES Snippets",
short_name: "ACES Snippets",
start_url: "/snippets/",
description: "Collection of useful code snippets",
icons: [
{
"src": "icons/manifest-icon-192.maskable.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "icons/manifest-icon-192.maskable.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icons/manifest-icon-512.maskable.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "icons/manifest-icon-512.maskable.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
theme_color: "#000000",
background_color: "#fcf5eb"
}
// https://astro.build/config
export default defineConfig({
site: 'https://acesdit.github.io',
base: '/snippets',
integrations: [tailwind(),AstroPWA({
manifest: manifest
})]
});