-
Notifications
You must be signed in to change notification settings - Fork 46
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
,info
ordebug
-
CompressionType
- to be passed to the YUI compressor, can benone
orstandard
-
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 ofProjectPath
if 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)