Closed hcavarsan closed 2 months ago
The recent changes primarily focus on configuration and environment settings for a frontend application. Key updates include renaming an environment variable in the GitHub workflow, adding new directory exclusions in the .gitignore
file, introducing a new configuration file for frontend settings, and expanding TypeScript declarations for handling specific file types and environment variables.
Files | Change Summary |
---|---|
.github/workflows/main.yml |
Changed environment variable from VITE_ENV: 'production' to FARM_ENV: 'production' . |
.gitignore |
Added dist and frontend/dist directories to the list of exclusions. |
frontend/farm.config.ts |
Introduced a new configuration file for frontend settings, including plugins, minification, and server settings. |
frontend/src/tauri-apps.d.ts |
Added declarations for handling *.webp files and interfaces for environment variables. |
sequenceDiagram
participant Developer
participant GitHubActions
participant FrontendApp
participant Server
Developer->>GitHubActions: Push changes
GitHubActions->>GitHubActions: Update workflow with FARM_ENV
GitHubActions->>FrontendApp: Build with FARM_ENV
FrontendApp->>FrontendApp: Load farm.config.ts
FrontendApp->>Server: Start server with new settings
Server->>FrontendApp: Serve application
Developer->>FrontendApp: Access application
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
feat: migrate from vite to farm, also upgrade tauri cli patch version