flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
44
BACK_BACK/node_modules/htmlnano/lib/presets/safe.js
generated
vendored
Executable file
44
BACK_BACK/node_modules/htmlnano/lib/presets/safe.js
generated
vendored
Executable file
|
|
@ -0,0 +1,44 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
/**
|
||||
* Minify HTML in a safe way without breaking anything.
|
||||
*/
|
||||
|
||||
var _default = {
|
||||
sortAttributes: false,
|
||||
collapseAttributeWhitespace: true,
|
||||
collapseBooleanAttributes: {
|
||||
amphtml: false
|
||||
},
|
||||
collapseWhitespace: 'conservative',
|
||||
custom: [],
|
||||
deduplicateAttributeValues: true,
|
||||
mergeScripts: true,
|
||||
mergeStyles: true,
|
||||
removeUnusedCss: false,
|
||||
minifyCss: {
|
||||
preset: 'default'
|
||||
},
|
||||
minifyJs: {},
|
||||
minifyJson: {},
|
||||
minifySvg: {
|
||||
plugins: [{
|
||||
collapseGroups: false
|
||||
}, {
|
||||
convertShapeToPath: false
|
||||
}]
|
||||
},
|
||||
minifyConditionalComments: false,
|
||||
removeEmptyAttributes: true,
|
||||
removeRedundantAttributes: false,
|
||||
removeComments: 'safe',
|
||||
removeAttributeQuotes: false,
|
||||
sortAttributesWithLists: 'alphabetical',
|
||||
minifyUrls: false,
|
||||
removeOptionalTags: false
|
||||
};
|
||||
exports.default = _default;
|
||||
Loading…
Add table
Add a link
Reference in a new issue