Skip to content

a plugin to utilize the Microsoft Ajax Minifier with the PVC Build Engine. Created by @joshgerdes

License

Notifications You must be signed in to change notification settings

joshgerdes/pvc-ajaxmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PVC Build Engine

pvc-ajaxmin

This is a plugin to utilize the Microsoft Ajax Minifier with the PVC Build Engine.

###Parameter Options

The plugin has the ability to take in the following parameters:

  • generateSourceMaps (default: false) - determines whether source maps will be generated. Mircosoft Ajax Minifier supports JS source maps only.

  • commandLineSwitches (default: "") - command line switches for the Microsoft Ajax Minifier. More details on what can be passed in can be found here.

###Usage Examples

Basic:

pvc.Source("js/*", "css/*", "test.js", "test.css")
	.Pipe(new PvcAjaxmin())
	.Save(@"deploy");

With Parameters:

pvc.Source("css/*")
	.Pipe(new PvcAjaxmin("-colors:hex"))
	.Save(@"deploy");
pvc.Source("js/*")
	.Pipe(new PvcAjaxmin(generateSourceMaps:true))
	.Save(@"deploy");
pvc.Source("css/*", "js/*")
	.Pipe(new PvcAjaxmin("-colors:hex", true))
	.Save(@"deploy");

About

a plugin to utilize the Microsoft Ajax Minifier with the PVC Build Engine. Created by @joshgerdes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages