Skip to main content

Obfuscated Code?

Upon reviewing the plugin's code, I noticed that the app.js file is obfuscated, while all the other files remain readable and it's possible to understand how the code is structured.

I would like to know why, despite the other files not being obfuscated, the decision was made to obfuscate app.js. I understand this could be for security or copyright protection reasons, but I would like to better understand to what extent code obfuscation is allowed in a WordPress plugin and in which situations it would be appropriate to do so.

Obfuscated Code?

Shahjahan Jewel

This is the compiled code. We write code in ES6 + VueJS and need to compile it with Vite. Otherwise, the package size would be several mega-bytes and would not work on most of the browsers.

Karl Emil Nikka

Shahjahan JewelΒ Just out of curiosity, is the uncompiled source code bundled?

Sombri Luna

Karl Emil Nikka I was going to ask the same thing. If we could have access to the file or at least know what's inside to get an idea of how it's built.