Skip to content

Conversation

@kevinchappell
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings November 13, 2025 22:54
Copy link
Contributor

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 fixes SVG icons not displaying in production builds by correcting the import syntax and build configuration.

  • Simplified SVG sprite import to use proper ESM syntax instead of incorrect require() call
  • Changed production base path from /formeo/ to / to fix asset loading

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
vite.config.js Updated base path to always use / instead of /formeo/ in production
src/lib/js/constants.js Replaced incorrect require() call with proper ESM import for SVG sprite

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

@kevinchappell kevinchappell merged commit a35aeaa into main Nov 13, 2025
8 checks passed
@kevinchappell
Copy link
Collaborator Author

🎉 This PR is included in version 4.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kevinchappell kevinchappell deleted the fix/svg-icons branch November 16, 2025 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants