Skip to content

Conversation

@Pitchouneee
Copy link

New dev module with two tools: CSS/JS minify and unminify

This pull request introduces a new dev module intended for developer oriented tools. The goal is to have a dedicated place where similar tools can be added in the future.

Added tools

  1. CSS/JS Minify
    A simple tool that minifies CSS or JS by removing whitespace, line breaks and comment. It uses basic regex without any external dependencies
  2. CSS/JS Unminify
    A tool to reformat CSS or JS into a more readable format.
    This ones uses the js-beautify library especially for JS which is harder to uniminify reliably using only regex

Context

This feature was added following a request made on the community Discord
There was no associated github issue

@Pitchouneee Pitchouneee changed the title Feat/dev tool css js minify unminify Jul 21, 2025
@Pitchouneee Pitchouneee changed the title Feat: dev tool css js minify unminify Jul 21, 2025
Copy link
Collaborator

Choose a reason for hiding this comment

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

The written test file is for convertUnixToDate feat.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry I saw the right commit later !

Copy link
Author

Choose a reason for hiding this comment

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

Np, I got me mixed up myself during my commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants