добавил скрипт для пререндеринга и карту сайта
This commit is contained in:
1 parent
3bf10b0e52
commit
b7027d1183
5 files changed
+815
-2503
No files matched your search
+11
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user