добавил скрипт для пререндеринга и карту сайта

This commit is contained in:
Joe_Peach committed 2026-04-12 00:36:08 +03:00
1 parent 3bf10b0e52
commit b7027d1183
5 files changed
+815 -2503

No files matched your search

+11 -1
View File
@@ -1,9 +1,19 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import Sitemap from 'vite-plugin-sitemap';
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [
react(),
Sitemap({
hostname: 'https://pvh.projects.rustprogersteam.ru',
exclude: ['/admin', '/profile'],
readable: true,
outDir: './dist',
}),
],
server: {
host: '0.0.0.0', // Слушаем все интерфейсы
port: 5173,