StickerAI-Front/vite.config.ts
kazachilo 971d76e3d5 рупное обновление: добавлен редактор стикеров, offerwall, обновлены UI компоненты
-  обавлен редактор стикеров (StickerEditorScreen.tsx)
- 💰 обавлена offerwall функциональность
- 🎨 обавлены Figma дизайн-файлы
- 🔧 обавлены конфигурации редактора (editorFonts.ts, editorStickers.ts)
- 🎯 бновлены компоненты: Gallery, Profile, Header, TokenPacks
- 📱 бновлены onboarding экраны и стили
- 📦 бновлены зависимости проекта
- ��️ обавлены новые изображения для onboarding
- 📋 обавлен план реализации редактора стикеров
2025-06-30 16:22:55 +03:00

23 lines
778 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
host: '0.0.0.0', // Делаем сервер доступным по локальной сети
port: 5173, // Фиксируем порт
strictPort: true, // Не пытаемся использовать другой порт, если 5173 занят
},
css: {
modules: {
localsConvention: 'camelCase',
generateScopedName: '[name]__[local]__[hash:base64:5]'
}
},
assetsInclude: ['**/*.json'], // Разрешаем импорт JSON файлов
json: {
stringify: true // Позволяет импортировать JSON как модули
}
});