forked from tubone24/nfcMyBusinessCard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
27 lines (26 loc) · 927 Bytes
/
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
import { defineConfig } from 'astro/config';
import serviceWorker from "astrojs-service-worker";
import partytown from "@astrojs/partytown";
import webmanifest from 'astro-webmanifest';
// https://astro.build/config
export default defineConfig({
integrations: [
partytown({
// Adds dataLayer.push as a forwarding-event.
config: {
forward: ["dataLayer.push"],
},
}),
process.env.NODE_ENV === 'production' ? serviceWorker() : null,
webmanifest({
name: 'Yu Otsubo - Business Card Site',
icon: 'public/icon.png',
short_name: 'Yu Otsubo',
description: 'Yu Otsubo - Business Card Site',
start_url: 'https://tubone-project24.onrender.com/#testtest',
theme_color: '#4bffde',
background_color: '#4bffde',
display: 'standalone',
}),
],
});