No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


NuGet version (dotnet-miglifier) Build status

The "Miglifier" Explained 😅

Obviously "miglifier" is a made up word but it's fun to say...nonetheless, it still serves a purpose. This Global .NET Tool both "minifies" and "uglifies" thus it "miglifies" CSS, JavaScript and HTML files in-place. I've yet to add bundling configuration or anything like that at this point. Nor, are there any options for how to perform various optimizations. It simply relys on all the defaults, more to come as time permits. But for now, this can be used as a part of your build tooling to minify and uglify files in-place. The files are not re-located.

Getting Started

To install the tool globally, execute the following command.

dotnet tool install -g dotnet-miglifier

Once installed you may invoke the tool by simply calling its name and passing in the path for which you want it to "miglify" against, see below for example:

dotnet-miglifier "wwwroot"
Scanning for CSS, JavaScript and HTML files to process.
Processing 1 Css file(s).

Processing 1 Js file(s).

Processing 1 Html file(s).

Successfully miglified 3 files!

If there are errors or warnings 💩, those will be output as part of the execution of this tool. Enjoy responsibly 🤘!