-
Notifications
You must be signed in to change notification settings - Fork 9
Options
The default value follows the name
This is a plain JavaScript object defining the variables used by jscc during the preprocessing.
Each key is a varname matching the regex /_[0-9A-Z][_0-9A-Z]*/
, the value can have any type.
There's two predefined varnames: _FILE
and _VERSION
.
Do not remove lines with directives and excluded blocks from the output, instead replace them with empty lines.
Use this option with sourceMap:false
if you are interested only in preserve line count.
String or array of strings with sequences that starts a directive. That is, the characters before the pound sign, usually the start of comments.
String or array of strings that defines the extensions of the files to process in the allowed directories.*
Each value is compared against the node's extname
result, so use '.'
to include files without extension.
To include all the files, use the string '*'
(don't use an array or the string '.*'
).
Minimatch pattern or array of minimatch patterns. If omitted or empty, all the files will be included.
Minimatch pattern or array of minimatch patterns of files to exclude from the preprocessing.