1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import path from 'path'
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import Sitemap from 'vite-plugin-sitemap';
import { plugin as mdPlugin, Mode } from 'vite-plugin-markdown';
export default defineConfig({
plugins: [
react(),
tailwindcss(),
Sitemap({
hostname: "https://schererleander.de",
dynamicRoutes: [ "/", "/gear", "/projects", "/blog" ]
}),
mdPlugin({mode: [Mode.REACT, Mode.MARKDOWN],}),
],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
})
|