Minimize the css and js files #445

Closed
opened 2026-01-29 17:37:26 +00:00 by claunia · 3 comments
Owner

Originally created by @tomsode on GitHub (Jun 21, 2022).

Is your feature request related to a problem? Please describe.
The css and js files aren't minimized. Example /_content/Radzen.Blazor/css/default-base.css

Describe the solution you'd like
To maintain compatibility you could add a matching .min.css/.min.js file for each generated file but for simplicity just minimize the generated file might be even better.

Originally created by @tomsode on GitHub (Jun 21, 2022). **Is your feature request related to a problem? Please describe.** The css and js files aren't minimized. Example /_content/Radzen.Blazor/css/default-base.css **Describe the solution you'd like** To maintain compatibility you could add a matching .min.css/.min.js file for each generated file but for simplicity just minimize the generated file might be even better.
claunia added the enhancement label 2026-01-29 17:37:26 +00:00
Author
Owner

@mwarvik commented on GitHub (Aug 4, 2023):

Would be great to have this!

@mwarvik commented on GitHub (Aug 4, 2023): Would be great to have this!
Author
Owner

@akorchev commented on GitHub (Apr 3, 2025):

The CSS is already minimized. Unfortunately I couldn't find any way to minimize the JavaScript which does not require having NodeJS installed. Let me know if you have suggestions.

@akorchev commented on GitHub (Apr 3, 2025): The CSS is already minimized. Unfortunately I couldn't find any way to minimize the JavaScript which does not require having NodeJS installed. Let me know if you have suggestions.
Author
Owner

@akorchev commented on GitHub (Apr 8, 2025):

The JavaScript is now also minified (should go live with the next release). It only required us to develop a custom MSBuild task which is worth of a story of its own :)

@akorchev commented on GitHub (Apr 8, 2025): The JavaScript is now also [minified](https://github.com/radzenhq/radzen-blazor/pull/2080) (should go live with the next release). It only required us to develop a custom MSBuild task which is worth of a story of its own :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#445