Skip to content

js partial_min - #14030

Closed
ClimDev101 wants to merge 7 commits into
linuxmint:masterfrom
ClimDev101:master
Closed

ClimDev101 wants to merge 7 commits into
linuxmint:masterfrom
ClimDev101:master

Conversation

@ClimDev101

Copy link
Copy Markdown

Summary

This PR optimizes JavaScript files during the build process by converting 4-space indentations into tabs. This change improves code readability and allows JavaScript files to be parsed/read faster on Linux Mint.

Changes

  • install-scripts/partialmin_javascript.py: Added a Python script to safely convert 4-space groups into tabs line-by-line, ensuring spaces inside strings or comments remain untouched.
  • install-scripts/meson.build: Integrated the new optimization script into the Meson build configuration to automate the process during compilation.

Benefits

  • Performance: Improves JavaScript execution/reading speed on Linux Mint systems.
  • Readability: Enhances formatting and standardizes indentation using tabs.

@mtwebster mtwebster closed this Oct 4, 2026
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