Skip to content

Conversation

@marcos-cereijo-pexip
Copy link
Collaborator

Closes #21

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR configures Vite for a simplified development workflow by adding environment-based configuration, HTTPS support via mkcert, and proxy settings for local development against an Infinity backend.

Key Changes:

  • Vite configuration now validates required environment variables (port and Infinity URL) in development mode
  • Added HTTPS support using vite-plugin-mkcert for secure local development
  • Configured proxy rules to route webapp3 and API requests to the Infinity backend

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
vite.config.ts Enhanced configuration with environment variable loading, development mode validation, server settings including proxy rules for webapp3 and API endpoints
utils/remove-manifest.js New utility script to delete the built manifest.json file from the dist directory
public/manifest.json Added default manifest configuration with plugin entry pointing to localhost:5173
package.json Added dependencies for Node.js types and vite-plugin-mkcert
README.md Added documentation for creating and configuring the .env file
.env.example Provided example environment variable configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marcos-cereijo-pexip marcos-cereijo-pexip force-pushed the chore/improve-the-vite-configuration-to-simplify-the-developement-process branch from d607529 to c2aa9b8 Compare December 26, 2025 11:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marcos-cereijo-pexip marcos-cereijo-pexip force-pushed the chore/improve-the-vite-configuration-to-simplify-the-developement-process branch 3 times, most recently from 80ed5ee to e9ccec9 Compare December 26, 2025 11:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marcos-cereijo-pexip marcos-cereijo-pexip force-pushed the chore/improve-the-vite-configuration-to-simplify-the-developement-process branch from e9ccec9 to 9b95b42 Compare December 26, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve the vite configuration to simplify the developement process

2 participants