Skip to content

Fix build process minification discrepancies#181

Merged
hackall360 merged 1 commit intodevelopfrom
claude/fix-build-minification-014qafUqeeYzZj3XRpwv7yPx
Nov 22, 2025
Merged

Fix build process minification discrepancies#181
hackall360 merged 1 commit intodevelopfrom
claude/fix-build-minification-014qafUqeeYzZj3XRpwv7yPx

Conversation

@hackall360
Copy link
Copy Markdown
Contributor

  • Added apps/index.html to Vite rollupOptions input for proper processing
  • Removed apps directory from viteStaticCopy to avoid conflicts
  • Updated copy-assets.js to individually copy apps subdirectories
  • Vite now properly transforms CSS/JS references to hashed versions
  • This fixes the white patch issue where apps/index.html couldn't load styles

The issue was that apps/index.html was being copied as-is without Vite processing it, so references like ../styles.css weren't being updated to the hashed versions (../assets/styles-[hash].css) created by Vite.

- Added apps/index.html to Vite rollupOptions input for proper processing
- Removed apps directory from viteStaticCopy to avoid conflicts
- Updated copy-assets.js to individually copy apps subdirectories
- Vite now properly transforms CSS/JS references to hashed versions
- This fixes the white patch issue where apps/index.html couldn't load styles

The issue was that apps/index.html was being copied as-is without Vite
processing it, so references like ../styles.css weren't being updated to
the hashed versions (../assets/styles-[hash].css) created by Vite.
@hackall360 hackall360 merged commit 95cfb58 into develop Nov 22, 2025
@hackall360 hackall360 deleted the claude/fix-build-minification-014qafUqeeYzZj3XRpwv7yPx branch November 22, 2025 10:38
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.

2 participants