bundleconfig.json
bundleconfig.json files
| Type | bundle[] |
|---|---|
| File match |
bundleconfig.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/bundleconfig-json/latest.json |
| Source | https://www.schemastore.org/bundleconfig.json |
Validate with Lintel
npx @lintel/lintel check
Schema for bundleconfig.json files
Items
One or more relative file names or globbing patterns to bundle. Example: "scripts/**/*.js"
The relative path to the desired output file name.
Set to true to include the output file in the project. Doesn't work in some Visual Studio project types like ASP.NET Core applications.
Specify options for minification of the output file.
2 nested properties
Produce a .gz file after minification.
Definitions
JavaScript only. Set to true to produce a source map.
JavaScript only. Sets a root path for source maps.
5 nested properties
JavaScript only. Gets or sets a flag indicating whether to always escape non-ASCII characters as \uXXXX or to let the output encoding object handle that via the JsEncoderFallback object for the specified output encoding format.
JavaScript only.
JavaScript only.
JavaScript only. Controls if local variables should be shortened.
Forces all rules to be terminated with semicolons if set to true.
4 nested properties
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'.
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.
CSS only. Adjust relative paths inside the url() function.
Forces all rules to be terminated with semicolons if set to true.
11 nested properties
HTML only. Remove values from boolean attributes.
HTML only. Indicating whether to collapse whitespaces.
HTML only. Indicating whether the parsing is occurring on an HTML fragment, to avoid creating missing tags (like html, body, head).
HTML only. Indicating whether to keep one space when collapsing.
HTML only. Minify CSS code in style tags.
HTML only. Minify JS code in script tags.
HTML only. Minify CSS code in style attributes.
HTML only. Preserve case of tag and attribute names.
HTML only. Remove all HTML comments except conditional, noindex, Knockout.js containerless comments and Angular.js comment directives.
HTML only. Remove optional end tags.
HTML only. Indicating whether to remove quoted attributes when possible.
For the multi-line output feature, how many spaces to use when indenting a block (see outputMode).
SingleLine minifies everything to a single line. MultipleLines breaks the minified code into multiple lines for easier reading.
One or more relative file names or globbing patterns to bundle. Example: "scripts/**/*.js"
The relative path to the desired output file name.
Set to true to include the output file in the project. Doesn't work in some Visual Studio project types like ASP.NET Core applications.
Specify options for minification of the output file.
2 nested properties
Produce a .gz file after minification.