Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/compilerconfig-json/_shared/latest--compilerdefaults.json
Parent schema compilerconfig-json
Type: object

Schema for bundleconfig.json files

Properties

compilers object
5 nested properties
less object

Specify options for the compiler.

11 nested properties
autoPrefix string

LESS only. Support for AutoPrefixer by adding a browser string. An empty string means this feature is disabled. Example: 'last 2 versions, > 5%'. See more at https://github.com/ai/browserslist.

Default: ""
cssComb enum | string

LESS only. CSScomb helps you sort and categorize CSS properties in your code to improve maintenance of your stylesheets. You can specify a relative path to a local .json file as well.

Default: "none"
ieCompat boolean

LESS only. Currently only used for the data-uri function to ensure that images aren't created that are too large for the browser to handle.

Default: true
math enum

LESS only. Specifies which mode Less will use to process the math in your CSS.

Default: "none"
Values: "always" "parens-division" "parens" "strict" "strict-legacy"
sourceMap boolean

Generates a base64 encoded source map at the bottom of the output.

Default: false
strictMath boolean

(DEPRECATED: Use 'math' instead) LESS only. Without this option on Less will try and process all maths in your CSS.

Default: false
strictUnits boolean

LESS only. Without this option, less attempts to guess at the output unit when it does maths.

Default: false
relativeUrls boolean

LESS only. This option allows you to re-write URL's in imported files so that the URL is always relative to the base imported file.

Default: true
rootPath string

LESS only. Allows you to add a path to every generated import and URL in your CSS. This does not affect less import statements that are processed, just ones that are left in the output css.

sourceMapRoot string

LESS only. Base path, will be emitted in source-map as is.

sourceMapBasePath string

Scss only. This is the opposite of the rootpath option, it specifies a path which should be removed from the output paths.

sass object

Specify options for the compiler.

9 nested properties
includePath string

Scss only. Path to look for imported files

indentType enum

Scss only. Indent type for output CSS.

Default: "space"
Values: "space" "tab"
indentWidth integer

Scss only. Number of spaces or tabs.

Default: 2
max=10
lineFeed enum

Scss only. Linefeed style (cr | crlf | lf | lfcr).

Default: "crlf"
Values: "cr" "crlf" "lf" "lfcr"
outputStyle enum

Scss only. Determines the output format of the final CSS style.

Default: "nested"
Values: "nested" "expanded" "compact" "compressed"
precision integer

Scss only. Used to determine how many digits after the decimal will be allowed. For instance, if you had a decimal number of 1.23456789 and a precision of 5, the result will be 1.23457 in the final CSS.

Default: 5
relativeUrls boolean

Scss only. This option allows you to re-write URL's to make them relative to the output file. This doesn't work for imported .scss files.

Default: true
sourceMap boolean

Generates a base64 encoded source map at the bottom of the output.

Default: false
sourceMapRoot string

Scss only. Base path, will be emitted in source-map as is.

stylus object

Specify options for the compiler.

1 nested properties
sourceMap boolean

Generates a base64 encoded source map at the bottom of the output.

Default: false
coffeescript object

Specify options for the compiler.

3 nested properties
bare boolean

CoffeeScript only. Compile the JavaScript without the top-level function safety wrapper.

Default: false
runtimeMode enum

CoffeeScript only. Specify how the Iced runtime is included in the output JavaScript file.

Default: "node"
Values: "node" "inline" "none" "window"
sourceMap boolean

Generates a source map file.

Default: false
handlebars object

Specify options for the compiler.

8 nested properties
enabled boolean
noBOM boolean

Removes the BOM (Byte Order Mark) from the beginning of the templates.

Default: false
namespace string

Template namespace

Default: ""
root string

Template root. Base value that will be stripped from template names.

Default: ""
knownHelpers string

List of known helpers for a more optimized output (comma separated)

Default: ""
knownHelpersOnly boolean

Compile with known helpers only

Default: false
commonjs string

Path to the Handlebars module to export CommonJS style

Default: ""
amd boolean

Exports amd style (require.js), this option has priority to commonjs.

Default: false
minifiers object
2 nested properties
css
All of: baseMinify object, cssMinify object
javascript
All of: baseMinify object, javascriptMinify object

Definitions

less object

Specify options for the compiler.

autoPrefix string

LESS only. Support for AutoPrefixer by adding a browser string. An empty string means this feature is disabled. Example: 'last 2 versions, > 5%'. See more at https://github.com/ai/browserslist.

Default: ""
cssComb enum | string

LESS only. CSScomb helps you sort and categorize CSS properties in your code to improve maintenance of your stylesheets. You can specify a relative path to a local .json file as well.

Default: "none"
ieCompat boolean

LESS only. Currently only used for the data-uri function to ensure that images aren't created that are too large for the browser to handle.

Default: true
math enum

LESS only. Specifies which mode Less will use to process the math in your CSS.

Default: "none"
Values: "always" "parens-division" "parens" "strict" "strict-legacy"
sourceMap boolean

Generates a base64 encoded source map at the bottom of the output.

Default: false
strictMath boolean

(DEPRECATED: Use 'math' instead) LESS only. Without this option on Less will try and process all maths in your CSS.

Default: false
strictUnits boolean

LESS only. Without this option, less attempts to guess at the output unit when it does maths.

Default: false
relativeUrls boolean

LESS only. This option allows you to re-write URL's in imported files so that the URL is always relative to the base imported file.

Default: true
rootPath string

LESS only. Allows you to add a path to every generated import and URL in your CSS. This does not affect less import statements that are processed, just ones that are left in the output css.

sourceMapRoot string

LESS only. Base path, will be emitted in source-map as is.

sourceMapBasePath string

Scss only. This is the opposite of the rootpath option, it specifies a path which should be removed from the output paths.

sass object

Specify options for the compiler.

includePath string

Scss only. Path to look for imported files

indentType enum

Scss only. Indent type for output CSS.

Default: "space"
Values: "space" "tab"
indentWidth integer

Scss only. Number of spaces or tabs.

Default: 2
max=10
lineFeed enum

Scss only. Linefeed style (cr | crlf | lf | lfcr).

Default: "crlf"
Values: "cr" "crlf" "lf" "lfcr"
outputStyle enum

Scss only. Determines the output format of the final CSS style.

Default: "nested"
Values: "nested" "expanded" "compact" "compressed"
precision integer

Scss only. Used to determine how many digits after the decimal will be allowed. For instance, if you had a decimal number of 1.23456789 and a precision of 5, the result will be 1.23457 in the final CSS.

Default: 5
relativeUrls boolean

Scss only. This option allows you to re-write URL's to make them relative to the output file. This doesn't work for imported .scss files.

Default: true
sourceMap boolean

Generates a base64 encoded source map at the bottom of the output.

Default: false
sourceMapRoot string

Scss only. Base path, will be emitted in source-map as is.

coffeeScript object

Specify options for the compiler.

bare boolean

CoffeeScript only. Compile the JavaScript without the top-level function safety wrapper.

Default: false
runtimeMode enum

CoffeeScript only. Specify how the Iced runtime is included in the output JavaScript file.

Default: "node"
Values: "node" "inline" "none" "window"
sourceMap boolean

Generates a source map file.

Default: false
stylus object

Specify options for the compiler.

sourceMap boolean

Generates a base64 encoded source map at the bottom of the output.

Default: false
handlebars object

Specify options for the compiler.

enabled boolean
noBOM boolean

Removes the BOM (Byte Order Mark) from the beginning of the templates.

Default: false
namespace string

Template namespace

Default: ""
root string

Template root. Base value that will be stripped from template names.

Default: ""
knownHelpers string

List of known helpers for a more optimized output (comma separated)

Default: ""
knownHelpersOnly boolean

Compile with known helpers only

Default: false
commonjs string

Path to the Handlebars module to export CommonJS style

Default: ""
amd boolean

Exports amd style (require.js), this option has priority to commonjs.

Default: false
baseMinify object
enabled boolean
gzip boolean

Produce a .gz file after minification.

Default: false
indentSize integer

For the multi-line output feature, how many spaces to use when indenting a block (see outputMode).

Default: 2
outputMode enum

SingleLine minifies everything to a single line. MultipleLines breaks the minified code into multiple lines for easier reading.

Default: "singleLine"
Values: "multipleLines" "singleLine" "none"
cssMinify object
colorNames enum

CSS only. If no color names are to be used, set this value to 'hex'. If a set of colors recognized by all major browser is okay to use (W3C-strict validation is not required), set this value to 'major'.

Default: "strict"
Values: "hex" "major" "noSwap" "strict"
commentMode enum

CSS only. How to treat comments in the code. The default is 'none', which will strip all comments except 'important' comments. 'all' will leave all comments, and 'hacks' will only leave certain known comment-based hacks.

Default: "important"
Values: "none" "all" "hacks" "important"
termSemicolons boolean

Forces all rules to be terminated with semicolons if set to true.

Default: false
javascriptMinify object
evalTreatment enum

JavaScript only.

Default: "ignore"
Values: "ignore" "makeAllSafe" "makeImmediateSafe"
preserveImportantComments boolean

JavaScript only.

Default: true
renameLocals boolean

JavaScript only. Controls if local variables should be shortened.

Default: true
termSemicolons boolean

Forces all rules to be terminated with semicolons if set to true.

Default: true