yWorks Optimizer

The yWorks Optimizer can be integrated into the deployment of your yFiles for HTML application to obfuscate and optimize the yFiles library modules. It obfuscates the public yFiles API and adapts the corresponding usages in your application code.

For many applications, using the yWorks Optimizer as part of the production build can provide additional obfuscation and size reduction for the yFiles library. It is specifically tailored to the structure of the yFiles library modules. The Optimizer does not generally minify or obfuscate your application code.

At the time of writing, you are not required to obfuscate the yFiles library.

The Optimizer is available as an npm package and can be installed like any npm module:

npm install -D @yworks/optimizer

For current usage information, supported configurations, and examples, refer to the npm package documentation.