21 lines
467 B
JavaScript
21 lines
467 B
JavaScript
|
import safePreset from './safe.mjs';
|
||
|
|
||
|
/**
|
||
|
* Maximal minification (might break some pages)
|
||
|
*/
|
||
|
export default { ...safePreset,
|
||
|
collapseWhitespace: 'all',
|
||
|
removeComments: 'all',
|
||
|
removeAttributeQuotes: true,
|
||
|
removeRedundantAttributes: true,
|
||
|
mergeScripts: true,
|
||
|
mergeStyles: true,
|
||
|
removeUnusedCss: {},
|
||
|
minifyCss: {
|
||
|
preset: 'default',
|
||
|
},
|
||
|
minifySvg: {},
|
||
|
minifyConditionalComments: true,
|
||
|
removeOptionalTags: true,
|
||
|
};
|