Skip to content

aus10/Bundlr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Bundlr

Bundlr is a lightweight C# library for bundling css and javascript. It can also minify your javascript files. It works by replacing script tags in your HTML file.

How to use

  • Drop Bundlr.cs in your project
  • Add the using statement to the top of your file
using Bundlr;
  • Example usage:
 ScriptBundler.GetBundler("www/profile/index.html")
                    .AddFile("www/assets/js/authentication.js")
                    .AddJsDirectory("www/profile/scripts")
                    .BundleJs("www/profile/scripts/bundled.js");

Thanks

  • This project uses a port of Douglas Crockford's JSMin

About

A lightweight C# library to concatenate and minify your css and javascript files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages