-
Notifications
You must be signed in to change notification settings - Fork 44
Compressor: build task
The compressor (both of them) is provided by an MsBuild task called RequireCompressorTask.
The task can receive the following paramters:
-
LoggingType- to be passed to the YUI compressor, can benone,infoordebug -
CompressionType- to be passed to the YUI compressor, can benoneorstandard -
EncodingType- to be passed to the YUI compressor, text encoding for the minifier, can have one of the following values:ascii, bigendianunicode, unicode, utf32, utf-32, utf7, utf-7, utf8, utf-8, default -
AutoCompressor- whether to run the autoCompressor or the classic one -
PackagePath- the output directory for packages, it will default to the value ofProjectPathif not specified. -
ProjectPath- the directory from which configs/scripts are read -
RequireConfigs- the list of require configuration files. Defaults to~/RequireJS.json -
EntryPointOverride- allows you to override the entrypoint used to load scripts, default isProjectPath + \Scripts\
[Passing values between ASP.NET and JavaScript] (https://github.com/vtfuture/RequireJSDotNet/wiki/Passing-values-between-ASP.NET-and-JavaScript)