Skip to content

[WIP] Disable minification in vite, so I can always see source code on the browser#6

Merged
konard merged 3 commits into
mainfrom
issue-5-40489d06
Nov 2, 2025
Merged

[WIP] Disable minification in vite, so I can always see source code on the browser#6
konard merged 3 commits into
mainfrom
issue-5-40489d06

Conversation

@konard
Copy link
Copy Markdown
Contributor

@konard konard commented Nov 2, 2025

Summary

Disabled minification in the Vite build configuration so that the source code is always readable and visible in the browser. This enables developers to debug code directly without needing to rely on source maps.

Changes

  • Updated website/vite.config.js to add minify: false in the build configuration
  • This ensures JavaScript is not minified during production builds, preserving variable names and code structure
  • Tested with npm run build to verify unminified output

Testing

✅ Build successful - verified that output JavaScript contains unreadable code patterns (e.g. readable variable names like relList, fetchOpts, REACT_ELEMENT_TYPE)
✅ ESLint passes with no errors
✅ No breaking changes to build output

Resolves

Fixes #5


🤖 Generated with Claude Code

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: undefined
@konard konard self-assigned this Nov 2, 2025
konard and others added 2 commits November 2, 2025 06:04
Configure vite to disable minification during build so that source code
is readable and debuggable in the browser. This allows developers to always
see the original source code without needing source maps.

Fixes #5

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard marked this pull request as ready for review November 2, 2025 05:05
@konard
Copy link
Copy Markdown
Contributor Author

konard commented Nov 2, 2025

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

📎 Log file uploaded as GitHub Gist (102KB)
🔗 View complete solution draft log


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard konard merged commit 73406f7 into main Nov 2, 2025
1 check passed
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.

Disable minification in vite, so I can always see source code on the browser

1 participant