hensei-web/node_modules/htmlnano/lib/presets/safe.js
2020-09-11 06:44:42 -07:00

38 lines
No EOL
753 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
/**
* Minify HTML in a safe way without breaking anything.
*/
var _default = {
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
}]
},
removeEmptyAttributes: true,
removeRedundantAttributes: false,
removeComments: 'safe'
};
exports["default"] = _default;