generated from ElianCodes/brutal
-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathastro.config.ts
36 lines (34 loc) · 923 Bytes
/
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
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';
import UnoCSS from 'unocss/astro';
import mdx from "@astrojs/mdx";
import { remarkModifiedTime } from './remark-modified-time.mjs';
import { remarkReadingTime } from './remark-reading-time.mjs';
import react from "@astrojs/react";
// https://astro.build/config
export default defineConfig({
// used to generate images
site: 'https://www.italiapersonalfinance.it/',
trailingSlash: 'ignore',
integrations: [sitemap(), UnoCSS({
injectReset: true
}), mdx(), react(),
/*
TODO waiting for firefox bug resolution
partytown({
// Adds dataLayer.push as a forwarding-event.
config: {
forward: ["dataLayer.push"],
},
}),
*/
],
vite: {
optimizeDeps: {
exclude: ['@resvg/resvg-js']
}
},
markdown: {
remarkPlugins: [remarkModifiedTime, remarkReadingTime],
},
});