Uno.Wasm.Bootstrap icon indicating copy to clipboard operation
Uno.Wasm.Bootstrap copied to clipboard

Minification and obfuscation support for web assets

Open mmarinchenko opened this issue 3 years ago • 1 comments

I use BundlerMinifier to minify my web assets in Release builds.

In Uno.Wasm.Bootstrap there are no differences between Debug and Release builds in web assets except for mono_config.js and uno_config.js which contain different flag values, file sets, etc.

Besides that some web assets are always minified (but not obfuscated - ex. dotnet.js) and most are not. I know there is response compression in place but it would still be great to have options to enable minification and/or obfuscation at least in release builds.

mmarinchenko avatar Jun 08 '21 06:06 mmarinchenko

For those who may hit this issue, https://github.com/ligershark/WebOptimizer can be used as a workaround.

GitHub
A bundler and minifier for ASP.NET Core. Contribute to ligershark/WebOptimizer development by creating an account on GitHub.

mmarinchenko avatar Feb 19 '22 06:02 mmarinchenko