Подготовил к интеграции с битриксом

This commit is contained in:
NikitaKalitov
2026-07-16 16:23:08 +03:00
parent be2504d60d
commit b09bd6abf7
9 changed files with 374 additions and 13 deletions
+4
View File
@@ -3,5 +3,9 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
// Needed when the build is served from a subpath (e.g. local/diagram-app/
// inside the Bitrix docroot) instead of domain root — see
// docs/bitrix-integration.md §7.
base: process.env.VITE_BASE_PATH || '/',
plugins: [react()],
})