Radzen.Terser.MSBuild 0.0.4

Prefix Reserved
dotnet add package Radzen.Terser.MSBuild --version 0.0.4
                    
NuGet\Install-Package Radzen.Terser.MSBuild -Version 0.0.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Radzen.Terser.MSBuild" Version="0.0.4">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Radzen.Terser.MSBuild" Version="0.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Radzen.Terser.MSBuild">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Radzen.Terser.MSBuild --version 0.0.4
                    
#r "nuget: Radzen.Terser.MSBuild, 0.0.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Radzen.Terser.MSBuild@0.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Radzen.Terser.MSBuild&version=0.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Radzen.Terser.MSBuild&version=0.0.4
                    
Install as a Cake Tool

Radzen.Terser.MSBuild

An MSBuild task for minifying JavaScript files using Terser through Microsoft.ClearScript.

Installation

Add the package to your project:

<ItemGroup>
  <PackageReference Include="Radzen.Terser.MSBuild" Version="0.0.1" />
</ItemGroup>

Usage

You can use the task directly in your project file:

<TerserMinify
    InputFile="wwwroot/js/site.js"
    OutputFile="wwwroot/js/site.min.js" />

Or in a target:

<Target Name="MinifyJavaScript" BeforeTargets="BeforeBuild">
    <TerserMinify
        InputFile="wwwroot/js/site.js"
        OutputFile="wwwroot/js/site.min.js" />
</Target>
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Radzen.Terser.MSBuild:

Repository Stars
radzenhq/radzen-blazor
Radzen Blazor is the most sophisticated free UI component library for Blazor, featuring 100+ native components including DataGrid, Scheduler, Charts, and advanced theming with full support for Material Design and Fluent UI.
Version Downloads Last Updated
0.0.4 8,662 4/7/2025
0.0.3 385 4/7/2025
0.0.2 275 4/7/2025
0.0.1 281 4/7/2025