JavaScript minification online tool gets UI and performance updates (v1.1.0)
We are excited to announce the v1.1.0 update to our JavaScript minification tool. These updates bring a range of new features that are designed to improve the user experience and make it even easier to minify your JavaScript code.
The most significant change is that we have replaced the plain textarea field with a more advanced code editor based on Codemirror. This new editor provides users with several useful features, including automatic indentation and line numbers, making it easier to work with your JavaScript code. Codemirror editor allows us to bring more features to the tool with the upcoming updates.
Additionally, we have updated the default configuration of the underlying Terser engine. These changes improve the tool’s performance and make code minification more efficient.
Here’s a simple example to illustrate the code optimization improvement:
var a = 1;
console.log(a);
In version 1.0.0 of the tool, the result snippet would be:
var a=1;console.log(a);
In version 1.1.0 of the tool, the result snippet would be:
console.log(1);
As we can see from this example, the tool dropped the unnecessary variable declaration and logged the value directly to the console. This approach not only saves more bytes but also improves runtime performance.
Finally, we have made updates to the user interface to improve accessibility for all users. These updates include changes to the colors and contrast.
If you want to minify JS online, try out the updated version of our JavaScript minification tool. With our updated code editor, reconfigured minification engine, and improved user interface, we believe that our tool is the best choice for anyone looking to minify their JavaScript code quickly and easily.
Published on Mar 23, 2023 by Oleh Pratsko